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

SCORM Loader not pashing arguments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.8.7, 1.9.3, 2.0
    • Component/s: SCORM
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When attempting to load materials that require arguments added to the HTML string the file lib is stripping these. An example would be as follows. the IMSManifest file has the following:

      <resource identifier="resource_eo01" type="webcontent" adlcp:scormtype="sco" href="main/launch_scorm.html?unit=eo01&lms=scorm">

      Which should open the following page:
      launch_scorm.html?unit=eo01&lms=scorm

      However it attempts to open it as follows:
      launch_scorm.html%3Funit%3Deo01%26lms%3Dscorm

      Which cannot be found and generates the following error:
      "Sorry, the requested file could not be found"

      We managed to fix this with the attached diff file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              jballard James Ballard
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Oct/08