-
Sub-task
-
Resolution: Fixed
-
Minor
-
3.5.6, 3.6.4, 3.7
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MDL-65604-master -
Intro
A number of the missing params come from the following scenario:
- I am on a page which has a file manager
- There are no query params in the current URL because the current page was reached via a POST
- I open the file manager
The act of opening the file manager causes the current page to be fetched for some reason. I haven't worked out why yet - the code is difficult to follow and the inspector claims that it has come from setting the innerHTML of some part of the file manager, however I'm unable to work out which one as none of them contain the offending URLs.
Replication instructions:
Problem D: Badges
- I am a teacher
- I am on a course page
- I click on "Badges"
- I click on "Add a new badge"
- I click on "Choose a file..."
Problem G: Folder
- I am a teacher
- I am on a course page
- I turn editing on
- I add a new folder setting only the name
- I view the new folder
- I click on "Edit"
- I click on the "Add..." icon in the file manager
Problem J: Backup
- I am a teacher
- I am on a course
- I open the settings menu
- I choose "Restore"
- I click on "Manage backup file"
- I click on the "Add..." icon in the file manager
Problem E: Lesson
Note: There may be another way to reach this issue
- I am a teacher
- I am on a course with editing turned on
- I create a new lesson
- I click on "Import questions"
- I click the "Import" button without entering a file
- I click on the "Choose a file..." button
Note: I haven't worked out how to reproduce this issue on the editpage.php URL