Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force rebuild isn't run for new courses #2696

Closed
simondate opened this issue Feb 22, 2023 · 2 comments · Fixed by #2702
Closed

Force rebuild isn't run for new courses #2696

simondate opened this issue Feb 22, 2023 · 2 comments · Fixed by #2702
Labels
S: merged Completed, reviewed, and merged issues T: bug
Milestone

Comments

@simondate
Copy link
Member

simondate commented Feb 22, 2023

Expected Behaviour

When a new course is created and the author press Preview Course, a build command should be run to ensure that the files are available.

Actual Behaviour

At the moment when the learner presses Preview Course, the author only sees a 404 error page. This seems to indicate the server is only running a quick refresh rather than a proper full rebuild.

Steps to Reproduce

  1. Install a new Authoring Tool and create a new course
  2. Run Preview Course
  3. The preview window will open and a 404 error will appear

chrome_NwobVKUiDg

It should be noted that this can easily be resolved if the author manually chooses 'force rebuild' when they first attempt to build the course.

Versions

  • Authoring Tool Version: 0.11.1
  • Framework Version: 5.26.0
  • Node.js Version: 14.16.1
  • MongoDB Version: MongoDB shell version v4.2.1
  • Operating System: Debian 10
  • Browser: Chrome 109
@danbuntu
Copy link

danbuntu commented Feb 22, 2023

+1 on a brand new install on adapt on a new ubuntu 22.04 server

In my case clicking force rebuild caused it to spin around for a bit and then popped up an error has occurred message. Clicking force rebuild again then made the course work

@Ant6009
Copy link

Ant6009 commented Mar 2, 2023

+1 Just updated to Adapt authoring tool 0.11.1. and Adapt framework 5.27.0. on Mac Ventura 13.0.1

Force rebuild works as expected and once that has been done preview also works as expected.

@taylortom taylortom added this to the v0.11.2 milestone Mar 23, 2023
@taylortom taylortom mentioned this issue May 19, 2023
3 tasks
@taylortom taylortom added S: merged Completed, reviewed, and merged issues T: bug labels Aug 14, 2023
@taylortom taylortom changed the title Force rebuild isn't run when new course is created Force rebuild isn't run for new courses Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: merged Completed, reviewed, and merged issues T: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants