-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.6, 3.10.4, 3.11, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE
-
-
3
-
QA blitz
This issue was identified in MDLQA-15999 and MDLQA-14800 and can be replicated on https://qa.moodledemo.net.
When linking a MoodleNet profile through the activity chooser, an invalid profile that bypasses the validator can be entered, which later results in generating an invalid url.
Steps to reproduce:
Enable MoodleNet integration and activitychooseractivefooter set to MoodleNet in the site administration.
- Log in as a teacher, go to a course and turn editing on.
- Click on the 'Add an activity' link then click on the 'or browse for content on MoodleNet' link in the footer.
- Verify that the modal window shows a form where you can enter your MoodleNet profile.
- Enter an invalid profile e.g. @qwerty and click 'Save and go'.
Expected:
- The validation would fail stating that an invalid MoodleNet profile was entered.
Actual:
- The validation passes and results in redirection to an invalid url (ex. https://qwerty/lms/moodle/search?site=https%3A%2F%2FSITEURL&course=COURSEID§ion=SECTIONID)
- Discovered while testing
-
MDLQA-15999 CLONE - A teacher can set their MoodleNet profile
-
- Passed
-