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

If no file is specified when restoring a course backup then Moodle displays an error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 2.3, 2.6
    • Backup
    • None
    • MOODLE_23_STABLE, MOODLE_26_STABLE

    Description

      When the user tries to restore a course and forgets to upload a backup file to the Files form element, Moodle shows the error "error/invalidrestorefile". The handling of this is inelegant and should be elegant.

      To recreate:

      1. In any course navigate to Course administration > Restore.
      2. Without uploading a backup file click the Restore button.

      Expected result:

      • The fact that there is no backup file is handled elegantly by Moodle.

      Actual result:

      • An error is shown with no help text.

      Attachments

        Issue Links

          Activity

            People

              lucaboesch Luca Bösch
              timb Tim Barker
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.