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

Importing courses with old start dates produces assignments with due dates in the future.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 3.3.5
    • Backup
    • MOODLE_33_STABLE
      1. Change the course start date of the original course to a current date 
      2. Or, manually change the assignment due dates of the new course
      3. Or, have admin import or restore courses. 
    • Hide

      To replicate:
      1. Create a course with a prior year course start date (make sure it's at least a couple of years in the past to make the issue obvious)
      2. Create an assignment insuring the due date is selected (should be default)
      3. Create another, blank course, taking all defaults.
      4. Enroll a teacher role into both courses.
      5. Import the 1st course into the second, taking all defaults.
      6. Note the due date for the selected assignment is a future date, offset in the future by the number of years the original course start date is in the past.
      7. Importing the course as administrator behaves differently and due dates are as expected.

      Show
      To replicate: 1. Create a course with a prior year course start date (make sure it's at least a couple of years in the past to make the issue obvious) 2. Create an assignment insuring the due date is selected (should be default) 3. Create another, blank course, taking all defaults. 4. Enroll a teacher role into both courses. 5. Import the 1st course into the second, taking all defaults. 6. Note the due date for the selected assignment is a future date, offset in the future by the number of years the original course start date is in the past. 7. Importing the course as administrator behaves differently and due dates are as expected.

      When a course with an old start date (e.g. course template created in prior years) is imported into an empty shell (with a current date), the due dates for the imported assignments have future dates. This does not occur if an admin account performs the import. An account with a teacher role was used in the testing of this issue. 

            Unassigned Unassigned
            michael.robinette Mike Robinette
            Votes:
            6 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:

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