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

Restore date should not roll for user created data - Core components

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Running the unit tests should cover most use cases here too.
      2. Create a course and add the following things:
        1. An assignment with activity completion criteria. Complete the assignment as a student.
        2. Award a badge.
        3. Create and complete a quiz.
        4. Enable course completion and complete a course as a student.
      3. Back up and then restore the course. Set the course start date by a month into the past or future.
      4. Check that only configuration dates have changed and that the others have stayed the same.
      Show
      Running the unit tests should cover most use cases here too. Create a course and add the following things: An assignment with activity completion criteria. Complete the assignment as a student. Award a badge. Create and complete a quiz. Enable course completion and complete a course as a student. Back up and then restore the course. Set the course start date by a month into the past or future. Check that only configuration dates have changed and that the others have stayed the same.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-59518-master
    • Sprint:
      3.4 Sprint 2, 3.4 Sprint 3

      Description

      This is a follow up of MDL-9367 and should land together with MDL-9367.

      Review all core components (course, grade, availability, badges, etc)and make sure dates are rolled only for configuration during restore and not for user created content. Would be ideal to create unit tests for each date item either way as done in MDL-9367.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17