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

Quiz open/close calendar events are not created when Importing from another course

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.6, 2.7, 3.3.3, 3.4, 3.5
    • Backup, Quiz
    • MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Hide

      After importing the course content, edit the quiz and save the quiz's settings.

      Show
      After importing the course content, edit the quiz and save the quiz's settings.
    • Hide

      In each quiz, click Edit settings, then click Save.

      Show
      In each quiz, click Edit settings, then click Save.

      When importing a course that has quizzes, one would expect appropriate calendar entries to be created for quizzes, like in the course that was imported from.

      What actually happens: the calendar events are not created for a quiz until the user manually saves the quiz's settings (even if no other changes are made to the quiz).

      Steps to reproduce:

      1. Create a course, Source
      2. Create a quiz in Source
        1. Set the quiz's open date to today + 2 days
        2. Set the quiz's close date to today + 14 days
      3. Create a course, Sink
      4. Import course content from Source into Sink, accepting all defaults
      5. Check the course calendar in Sink; note that there are neither open nor close events for the quiz on the calendar.
      6. Edit the quiz's settings
        1. Make no changes, but click "Save and return to course"
      7. Check the course calendar in Sink; note that there are open and close events for the quiz on the calendar.

      A similar result an be obtained when restoring a course (containing a quiz with open and/or close dates) from a backup (that does not include Calendar events).

            Unassigned Unassigned
            matt.rice Matt Rice
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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