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

Restore - PHP Notices during restore of 1.9 zip file

XMLWordPrintable

    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      Turn debugging off and the notices will not be seen.

      Show
      Turn debugging off and the notices will not be seen.
    • Hide

      1. Restore the test backup file attached to MDL-16513.
      2. Verify that there are no notices relating to questions. (Note, I did get a notice about something else when I tested.)
      3. Once the restore is done, go into the question bank and edit and/or preview the matching question, and verify that it is all present and correct.

      Show
      1. Restore the test backup file attached to MDL-16513 . 2. Verify that there are no notices relating to questions. (Note, I did get a notice about something else when I tested.) 3. Once the restore is done, go into the question bank and edit and/or preview the matching question, and verify that it is all present and correct.

      While doing a restore - creating a new course - the following PHP notices appear:

      Notice: Undefined index: matchoptions in /home/arborrow/NetBeansProjects/m22/question/type/match/backup/moodle1/lib.php on line 59

      Notice: Undefined index: original_site_identifier_hash in /home/arborrow/NetBeansProjects/m22/backup/util/helper/backup_general_helper.class.php on line 141

      This is a pretty trivial matter but it came up while looking at closing MDL-16513 so I figured I would create an issue should someone want something that is hopefully easy to work on.

      Peace - Anthony

            timhunt Tim Hunt
            aborrow Anthony Borrow
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Jason Fowler Jason Fowler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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