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

Manually completed course activities showing in Timeline

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a course
      2. Edit the course settings
        1. Enable completion tracking
      3. Create some users
      4. Enrol some users in the course
      5. Create a Lesson:
        1. Under Availability set the Available from to a few days before and the Due to a few days after today
          This could make sure this activity appears in Timeline.
        2. Under Activity completion, set Completion tracking to "Students can manually mark as completed"
      6. Create a Quiz:
        1. Under Activity completion set:
          1. Completion tracking to "Students can manually mark as completed"
          2. Expect completed on to tomorrow
      7. Login as one of the enrolled students, Go to dashboard, should see two activities in the Timeline
      8. View the dashbaord
        1. Confirm that the timeline block does shows both the Lesson and Quiz events
      9. View the course
        1. Tick the activity completion checkboxes to mark the lesson and the quiz as completede
      10. View the dashbaord
        1. Confirm that the timeline block does not show the Lesson or Quiz events
      Show
      Create a course Edit the course settings Enable completion tracking Create some users Enrol some users in the course Create a Lesson: Under Availability set the Available from to a few days before and the Due to a few days after today This could make sure this activity appears in Timeline. Under Activity completion, set Completion tracking to "Students can manually mark as completed" Create a Quiz: Under Activity completion set: Completion tracking to "Students can manually mark as completed" Expect completed on to tomorrow Login as one of the enrolled students, Go to dashboard, should see two activities in the Timeline View the dashbaord Confirm that the timeline block does shows both the Lesson and Quiz events View the course Tick the activity completion checkboxes to mark the lesson and the quiz as completede View the dashbaord Confirm that the timeline block does not show the Lesson or Quiz events
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.6 Branch:
      MOODLE_36_STABLE_MDL-65517
    • Pull 3.7 Branch:
      MOODLE_37_STABLE_MDL_65517
    • Pull Master Branch:
      master_MDL-65517

      Description

      Steps:

      1. Create a course
      2. Create some users
      3. Enroll some users in the course
      4. Create a lesson and Quiz activity
      5. Enable availability for the lesson, set Deadline to few days before or after today, this could make sure this activity appears in Timeline.
      6. Set course completion to "Students can manually mark as completed"
      7. Similar settings apply to the quiz activity
      8. Login as one of the enrolled students, Go to dashboard , should see two activities in the Timeline
      9. Go to the course page, tick the complete box to mark the lesson and the quiz as completed.
      10. Go back to Timeline (/my), the two activities still appear in the Timeline

       

      This could be because the ajax request to complete an activity missing the ability to update related event for Timeline. 

      Thanks for your time.

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Sep/19

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 18 minutes
                1h 18m