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

Problem with Course Reset - Assignment Dates

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.9.3
    • 1.9.4
    • Backup, Course
    • None
    • MySQL
    • MOODLE_19_STABLE
    • 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

              dongsheng Dongsheng Cai
              kstokking Kris Stokking
              Nicolas Connault Nicolas Connault
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Jan/09