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

SCORM breaks when SCOs contain apostrophe (IdentifierRef)

    XMLWordPrintable

Details

    Description

      If a SCORM resource identifier contains an apostrophe (') character, then, during parsing, that character is escaped to \'.

      However, the code that looks up the 'launch' URL for SCOs does not escape the identifier that it is looking up. This means that it fails to find the resource and that SCO will not appear in the SCORM player (in many cases SCORMs only include a single SCO, so the SCORM will not work at all).

      This has caused a problem on a customer's site - I cannot attach the actual SCORM they are using, but I have attached an example that I have created. This example has 3 pages (Home, Page 1, Page 2), but the Home page is not displayed, because of this bug.

      I will add a simple patch to fix this.

      Attachments

        Activity

          People

            davosmith Davo Smith
            davosmith Davo Smith
            Dan Marsden Dan Marsden
            Andrew Lyons Andrew Lyons
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jul/16