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

Completion API not updated when SCO tracking is deleted when package changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.19, 4.4.9, 4.5.5, 5.0.1, 5.1
    • SCORM
    • MOODLE_401_STABLE, MOODLE_404_STABLE, MOODLE_405_STABLE, MOODLE_500_STABLE, MOODLE_501_STABLE

      Split off as separate issue from MDL-85479

      When SCORM activities are created the package file is editable, i.e. it can be updated as needed even after users have attempted the scorm.

      But if users completed a scorm with lets say sco identifier 'a' but then we uploaded a new package that only has a sco with identifier 'b' then it will delete the old sco records along with the tracking (including lesson status), see here  https://github.com/moodle/moodle/blob/9242f9619ae6fb3881dbbc0c96030acd65ea5892/mod/scorm/datamodels/scormlib.php#L711

      The completion API is not informed that this record no longer exists, so the user can be shown as completed in the activity completion report (cached) but the "TODO" bubble in the activity for the user shows as grey/not complete (not cached).

            Unassigned Unassigned
            matthewhilton Matthew Hilton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m

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