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

AJAX course editing gives no indication that an edit failed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.9
    • Fix Version/s: 2.3
    • Component/s: JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE

      Description

      None of the AJAX requests use success callbacks. Instead the interface provides immediate feedback and assumes that the request will succeed. This might be acceptable.

      However none of the AJAX requests use failure callbacks either. This means that some time after an AJAX request fails, when the user does a reload of the page in question, things will appear to have moved around unexpectedly.

      If an AJAX request fails, the user should be notified, and the intended change should be undone in the interface. Alternatively changes are not visible until the AJAX request succeeds, and a progress indicator is shown while waiting.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poltawski Dan Poltawski
                Reporter:
                nilinili Nicklas Lindgren
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Jun/12