-
Notifications
You must be signed in to change notification settings - Fork 226
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
Refresh course setting page on error #1386
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than reverting this line, everything else LGTM! Reproduced test plan
Dockerfile
Outdated
@@ -54,7 +54,7 @@ RUN mkdir -p /home/app/webapp/log && \ | |||
USER app | |||
|
|||
# precompile the Rails assets | |||
RUN RAILS_ENV=production bundle exec rails assets:precompile | |||
RUN RAILS_ENV=development bundle exec rails assets:precompile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could I check why this change is necessary? It will impact the docker-compose installation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that! I was testing my local docker compose! I must've accidentally added this commit. Will remove right away.
* Local docker config * refresh page after saving on error * revert accidental change
Description
This PR allows a course setting page to refresh automatically upon receiving erroneous setting information.
Motivation and Context
#1385
How Has This Been Tested?
See the bug report. After following the steps to reproduce, you should now observe the expected behavior.
Types of changes
Checklist:
Other issues / help required
If unsure, feel free to submit first and we'll help you along.