Closed khattam2 closed 7 months ago
Fixes #1327
What?
Setting a unique CourseInstance.url in the edit course instance form crashes A+
Why?
When editing the url to a unique value and saving the changes, the page crashes as the old url is being called, which no longer exits.
How?
Changing the code so the it calls the new url being saved.
Remember to add or update unit tests for new features and changes.
What type of test did you run?
[ADD A DESCRIPTION ABOUT WHAT YOU TESTED MANUALLY]
Did you test the changes in
Think of what is affected by these changes and could become broken
Clean up your git commit history before submitting the pull request!
I shortened the commit message.
Fixes #1327
Description
What?
Setting a unique CourseInstance.url in the edit course instance form crashes A+
Why?
When editing the url to a unique value and saving the changes, the page crashes as the old url is being called, which no longer exits.
How?
Changing the code so the it calls the new url being saved.
Testing
Remember to add or update unit tests for new features and changes.
What type of test did you run?
[ADD A DESCRIPTION ABOUT WHAT YOU TESTED MANUALLY]
Did you test the changes in
Think of what is affected by these changes and could become broken
Translation
Programming style
Have you updated the README or other relevant documentation?
Is it Done?
Clean up your git commit history before submitting the pull request!