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

Problem with Course Reset - Assignment Dates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: Backup, Course
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      We have found a reproducible bug within the Course Restore and Reset functionality. The bug causes any assignments associated with the Course to have their Due Date set oddly. For example, if Course A starts on 11/1/2008 and is restored into Course B, then Course B is reset to start on 1/1/2009, Assignment A which originally started on 12/23/2008 would now start at 3/12/2000 under Course B.

      Here are the steps to reproduce:

      1. Login as an administrator
      2. Create a sample course (Course A) that starts on 11/1/2008, with one assignment that starts on 12/23/2008.
      3. Take a backup of the Course A in step 2 (backup.zip).
      4. Create a new course (Course B) that starts on 11/1/2008. Assign an instructor to the course.
      5. Login as the instructor in step 4, and restore backup.zip to Course B.
      6. Reset Course B to start on 1/1/2009
      7. Look at the details of the lone assignment. It should have a due date of 2/23/2008 (or around that date). Instead, it has a due date of something far in the past, such as 3/12/2000.

      Please let us know if there is a workaround, as this is holding up teachers from completely restoring a course. Thanks!

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Jan/09