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

Availability: Conditional dates are not updated on restore

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-46991-master
    • Hide

      1. Start restore of attached file date-shifting-test.mbz
      2. Select to restore to new course
      3. On step 4 Schema, select the start date 7 January 2014. This is 6 days later than the original start date 1 January 2014.
      4. Continue restore with default options

      EXPECTED: There are 2 Page items on the course with descriptions that say what their original date settings were. In Europe/London time zone you should see these dates:

      • Simple example - from 7 Feb
      • Complex example - from 7 March and until end 6 April (unless you are in a specific department).

      Not quite sure how this works with time zones but it should be consistent with the start date.

      BEFORE FIX: Before this fix, the restored backup had the original times for activities (1st of each month) as per issue description.

      Show
      1. Start restore of attached file date-shifting-test.mbz 2. Select to restore to new course 3. On step 4 Schema, select the start date 7 January 2014. This is 6 days later than the original start date 1 January 2014. 4. Continue restore with default options EXPECTED: There are 2 Page items on the course with descriptions that say what their original date settings were. In Europe/London time zone you should see these dates: Simple example - from 7 Feb Complex example - from 7 March and until end 6 April (unless you are in a specific department). Not quite sure how this works with time zones but it should be consistent with the start date. BEFORE FIX: Before this fix, the restored backup had the original times for activities (1st of each month) as per issue description.

      To reproduce...

      1. Create a course and create some conditional activities with date restrictions.
      2. Backup the course
      3. Restore the backup as a new course setting a different start date.
      4. Any dates in the new course will have been updated but the conditional activity dates will be the same as before

      This seems to be a new bug in 2.7 - a regression of some sort

            quen Sam Marshall
            howardsmiller Howard Miller
            Frédéric Massart Frédéric Massart
            Dan Poltawski Dan Poltawski
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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