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

restore always removes course idnumber

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_26_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-37312-master
    • Hide
      1. Create a new course with a unique Course ID Number
      2. Under 'Course Administration' backup the course. (default settings)
      3. Under 'Course Administration' restore the course. (as a new course)

      Course should restore but indicate in the logs that the idnumber was unset because it already exists. - idnumber will be empty.

      1. Repeat above but with an empty Course ID Number

      Course should restore fine - idnumber will be empty

      1. Delete original course with ID Number and restore from backup.

      Course will restore with no errors. - idnumber will be restored.

      1. Restore course to different site

      Course will restore with no errors - idnumber will be empty.

      Show
      Create a new course with a unique Course ID Number Under 'Course Administration' backup the course. (default settings) Under 'Course Administration' restore the course. (as a new course) Course should restore but indicate in the logs that the idnumber was unset because it already exists. - idnumber will be empty. Repeat above but with an empty Course ID Number Course should restore fine - idnumber will be empty Delete original course with ID Number and restore from backup. Course will restore with no errors. - idnumber will be restored. Restore course to different site Course will restore with no errors - idnumber will be empty.
    • 13
    • BACKEND Sprint 16

      This looks weird especially when restoring on the same site. I would personally expect that restore verifies that user may change idnumber + no idnumber exists + this is the same site and if all conditions are true then keeps the same idnumber.

            zac Zachary Durber
            skodak Petr Skoda
            Frédéric Massart Frédéric Massart
            Damyon Wiese Damyon Wiese
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

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