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

Course completion report doesn't always show actual time activity was completed



    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.4, 3.7.2
    • Fix Version/s: None
    • Component/s: Course completion
    • Labels:
    • Affected Branches:



      When ticking an activity as a Course completion criterion after already configuring Activity completion tracking (and a user having completed the activity), the Course completion report lists the time the activity was enabled for Course completion, rather than using the actual completion time already gathered for the activity (listed in the Activity completion report).

      Steps to replicate:

      1. Ensure Enable Completion tracking turned on in course settings
      2. Enrol test student in course
      3. Add an Assignment activity to the course
        • Enter title and fill in any required fields
        • Untick all settings under 'Availability'
        • Require students to click the submit button>Yes
        • Completion tracking>Show activity complete when conditions are met>Student must submit to this activity to complete it
        • Save and return to course
      4. Log in as test student and submit a file to the assignment
      5. Log back in as admin or teacher account
      6. Go to Course administration>Reports>Activity completion and note the time/date for completion of the assignment by test student
      7. Wait 5 minutes before next step
      8. Go to Course administration>Course completion
        • Course is complete when ALL conditions are met
        • Tick the assignment under Condition: Activity completion
        • Save changes
      9. Go to Course administration>Reports>Course completion
        • Find the student's tick for the assignment and note the time/date for the completion of the assignment

      Observed outcome:

      Course completion tracking lists the time of completion as the time that Course completion was enabled for that assignment (or shortly after when the cron next runs).

      Expected outcome:

      Course completion tracking lists the time the assignment was actually completed according to the assignment completion tracking settings that were already in effect.

      Impact on users:

      Teachers who decide to enable Course completion tracking after having already set up Activity completion tracking will see discrepancies on the date/time completed when comparing the Activity completion and Course completion reports. This can cause confusion as to why the dates are different.




            prankin Phillip Rankin
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            0 Vote for this issue
            5 Start watching this issue