Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36984

Assignment module should redirect after form submissions

    Details

    • Testing Instructions:
      Hide
      1. Create an assignment activity
      2. Submit an assignment as a student
      3. Grade the assignment as a teacher
      4. Hit the [Save Changes] button
      5. On the new page, press F5 to refresh the page
      6. Ensure that no warning about resubmitting the form is displayed
      Show
      Create an assignment activity Submit an assignment as a student Grade the assignment as a teacher Hit the [Save Changes] button On the new page, press F5 to refresh the page Ensure that no warning about resubmitting the form is displayed
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-36984-master
    • Story Points (Obsolete):
      13
    • Sprint:
      FRONTEND Sprint 7

      Description

      After a student edits or saves a submission the view submission page is rendered directly without a redirect. This allows the possibility of resubmitting the form by using the browser refresh button or shortcut-key (e.g., F5). It also leaves the URL in the address bar set to

      {wwwroot}

      /mod/assign/view.php with no parameters which can cause confusion for users who bookmark the address, which when visited gives a required_param missing error. Redirecting the user after form submission ensures that the form cannot be resubmitted with a browser refresh and ensures that the URL is a valid URL for bookmarking.

      It would be ideal if a grader were redirect after submitting a grade for a student for the same reasons listed above.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14