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

Restoring a backup from a 1.x instance into a 2.x instance set some bool settings opposite to the expected default value in 2.x

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.7, 2.9.1, 3.0
    • Fix Version/s: 2.8.9, 2.9.3
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      (difficulty: easy, requires teacher access to a course and to the database of the instance)

      1. Restore a 1.x SCORM backup e.g. the one attached in MDL-27449 into the 2.x patched instance;
      2. Confirm that both forcecompleted and displaycoursestructure settings are set to No/False in the Web GUI;
      3. Confirm that both forcecompleted and displaycoursestructure settings are set to 0 in the scorm table structure, in the database instance.
      Show
      (difficulty: easy, requires teacher access to a course and to the database of the instance) Restore a 1.x SCORM backup e.g. the one attached in MDL-27449 into the 2.x patched instance; Confirm that both forcecompleted and displaycoursestructure settings are set to No / False in the Web GUI; Confirm that both forcecompleted and displaycoursestructure settings are set to 0 in the scorm table structure, in the database instance.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m30_MDL-51363_Fix_Default_Settings_1x_Restore

      Description

      Long story started with forcecompleted: https://moodle.org/mod/forum/discuss.php?d=318027.
      Shortly: the DB default values do not match with the settings proposed as the default settings to the administrator via UI and those default values coming from the DB have been elected as the default when restoring, at the time - MDL-27449 - of coding the restore of a SCORM Activity backup, from an 1.x into a 2.x.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Nov/15