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

Scorm navigation does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.11.8, 4.0.2
    • SCORM
    • None
    • MOODLE_311_STABLE, MOODLE_400_STABLE

      SCORM navigation is broken due to a regresion caused by MDL-68792.

      The code in mod/scorm/module.js relies on page-content or content ids to exist in the page:

      https://github.com/moodle/moodle/blob/MOODLE_311_STABLE/mod/scorm/module.js#L856-L857

      To solve MDL-68792 page-content id was removed from the embedded.mustache template:

      https://github.com/moodle/moodle/commit/8325c83b20b337a9517501b879194f004a3df06c#diff-97a6778cdf99802a612717b7ebb600768b720ddc9e10f0a2b2bfe1183a486a4d

      Causing a javascript error (pagecontent is undefined) when a navigation node is clicked:

      https://github.com/moodle/moodle/blob/MOODLE_311_STABLE/mod/scorm/module.js#L864

       

        1. 1.2.png
          27 kB
          Carlos del Río Sáez
        2. 2.png
          13 kB
          Carlos del Río Sáez
        3. 3.png
          468 kB
          Carlos del Río Sáez

            Unassigned Unassigned
            jsegarra Juan Segarra Montesinos
            Votes:
            25 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

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