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

Quiz editing: errors in Ajax calls are not reported

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.3, 3.2
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE

      Description

      Steps to reproduce (note, these steps depend on MDL-57228 not being fixed):

      1. Create a quiz like
        • Section heading 1
        • Question 1
        • Section heading 2
        • Question 2
        • Section heading 3
        • Question 3
        • Question 4
      2. Try to drag Question 4 into Section 1.

      Actual result: it appears to work, but if you reload the page, Question 4 goes back to where it was. If you open developer tools Network tab, you can see the Ajax call gave an error.

      Expected result: if an error occurs with the Ajax call, then it is reported to the user, and the page is not changed. (Or, when the error dialogue is dismissed, the page is forced to reload.)

        Attachments

        1. upload1.jpg
          upload1.jpg
          57 kB
        2. upload2.jpg
          upload2.jpg
          61 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                timhunt Tim Hunt
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: