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

Module completion setting "expected completed on" does not generate calendar events for all modules.

XMLWordPrintable

    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_33_STABLE
    • wip-MDL-59287-master-v3
    • Hide
      1. Create a course with completion tracking set to yes.
      2. To save time go to "Course administration > Course completion" and select the "Default activity completion" tab.
      3. Select all of the activities / resources and edit.
      4. Enable "Expect completed on" and set the date for some time in the future.
      5. Create one of all of the activities and resources.
      6. Do the following to all activities / resources:
        1. Check that an event is created for each of the activities. To do this you can log in as a student and check the overview block on the dashboard, or alternatively add a calendar block to the course, or a third option is to just check the mdl_event table in the database.
        2. Edit the activity and change the date to another date. Check that the event has been changed (DB or some other method).
        3. Disable the 'expected completion on' event and check that it has been removed.
        4. Duplicate the activity and ensure that the event has been duplicated as well.
        5. Inline edit the name of the activity / resource and make sure that the event name is also updated.
      7. Reset the course and change the start date. Make sure that the calendar event dates are moved accordingly.
      8. Bulk edit some of the activities (Course administration > Course completion - Bulk edit activity completion) and check that the events are updated.
      Show
      Create a course with completion tracking set to yes. To save time go to "Course administration > Course completion" and select the "Default activity completion" tab. Select all of the activities / resources and edit. Enable "Expect completed on" and set the date for some time in the future. Create one of all of the activities and resources. Do the following to all activities / resources: Check that an event is created for each of the activities. To do this you can log in as a student and check the overview block on the dashboard, or alternatively add a calendar block to the course, or a third option is to just check the mdl_event table in the database. Edit the activity and change the date to another date. Check that the event has been changed (DB or some other method). Disable the 'expected completion on' event and check that it has been removed. Duplicate the activity and ensure that the event has been duplicated as well. Inline edit the name of the activity / resource and make sure that the event name is also updated. Reset the course and change the start date. Make sure that the calendar event dates are moved accordingly. Bulk edit some of the activities (Course administration > Course completion - Bulk edit activity completion) and check that the events are updated.
    • 3.4 Sprint 2

      Multiple activities do not create calendar events for the completion setting 'expected completed on'.

      Modules that do create the event:

      • book
      • folder
      • forum
      • glossary
      • imscp
      • label
      • lti
      • page
      • resource
      • survey
      • url
      • wiki

      Modules that do not create the event:

      • assign
      • chat
      • choice
      • data
      • feedback
      • lesson
      • quiz
      • scorm
      • workshop

      There is a reason for this. https://tracker.moodle.org/browse/MDL-57878?focusedCommentId=456118&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-456118 Made the decision that activities that already generate events do not create this event.

      I've created this issue because I think it's likely to confuse content creators if some activities create this event and others don't. It confused me, and I'm here at HQ.

      Perhaps I'm wrong and this issue can sit here with no votes and be closed at a later date.

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            John Okely John Okely
            Dan Poltawski Dan Poltawski
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Votes:
            1 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.