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

Notice Undefined property timecheckstate when restoring old backups

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.3.5, 2.4.2
    • Component/s: Quiz
    • Labels:
      None
    • Testing Instructions:
      Hide

      1. Backup a course including quiz attempt from Moodle 2.0, 2.1 or 2.2.

      2. Restore into Moodle 2.3 or later.

      3. Verify that there are no errors, warnings or notices.

      Show
      1. Backup a course including quiz attempt from Moodle 2.0, 2.1 or 2.2. 2. Restore into Moodle 2.3 or later. 3. Verify that there are no errors, warnings or notices.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Restoring a 2.0 backup in Moodle 2.4 produce:
      Notice: Undefined property: stdClass::timecheckstate in C:\wamp\www\moodle_test\mod\quiz\backup\moodle2\restorequizstepslib.php on line309
      Most likely a regression caused by MDL-35717.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13