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

Error throw when restore the file from remote storage if the remote file is missing

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.8
    • None
    • Backup
    • None
    • MOODLE_38_STABLE

    Description

      I find that if the backup is made on a course (without "Include files" option ) and there is a missing remote file (s3  aws) in the course, the restore will be broken and throw the error at:

      line 1082 of /backup/util/dbops/restore_dbops.class.php: call to file_storage->create_file_from_url()

       

      Probably error caused by:

      https://tracker.moodle.org/browse/MDL-35773

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Nguyen Nathan Nguyen
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: