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

Updating SCORM package breaks all links to specific pages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6
    • 1.9.19, 2.2.4, 2.3.1
    • SCORM
    • MOODLE_19_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_26_STABLE

      Every time a SCORM package is updated a new set of 'scorm_scoes' records are created and the old ones are deleted (after fixing up the 'scorm_scoes_tracking' table to point at the new records). This means that any links to specific pages within the SCORM, in the form: [siteurl]/mod/scorm/player.php?a=[XXX]&currentorg=[YYY]&scoid=[ZZZ] will break.

      From a brief look through the code, I cannot see a reason why 'update_record' cannot be used instead of 'insert_record' in cases where the SCO identifier already exists - this would not only fix the linking issue, but also remove the need to fix-up the 'scorm_scoes_tracking' records. I note that the importing of AICC content already appears to work this way.

            danmarsden Dan Marsden
            davosmith Davo Smith
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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