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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8.9, 2.9.3
    • 2.8.7, 2.9.1, 3.0
    • SCORM
    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • m30_MDL-51363_Fix_Default_Settings_1x_Restore
    • 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.

      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.

            matteo Matteo Scaramuccia
            matteo Matteo Scaramuccia
            Dan Marsden Dan Marsden
            David Monllaó David Monllaó
            Ryan Wyllie Ryan Wyllie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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