-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.7, 3.8.4, 3.9.1, 3.10
-
MOODLE_310_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
-
If a user navigates to a resource using the previous or next buttons and then edits the resource settings it is possible that the cancel button on the form will result in a file download, rather than taking them back to the page view they were expecting.
This is an edge case, but which will be odd for users who encounter it.
Assumptions
- You have a course with the following activities:
- Announcements forum
- File resource with an uploaded file and the following settings:
- Name: Test file
- Display: Forced download (although with automatic it will also happen for many files)
Steps to reproduce
- Navigate to the Announcements forum
- Follow the Test file link at the bottom of the forum
- Open the cog menu and press the Edit settings option
- Press the cancel button
Expected result
Moodle returns to the page from step 3
Actual result
Moodle downloads the file and the form remains on screen.