Moodle

SCORM Loader not pashing arguments

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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.

Issue Links

Activity

Hide
Dan Marsden added a comment -

this has already been fixed, please upgrade to the latest 1.9stable or 1.8stable

thanks,

Show
Dan Marsden added a comment - this has already been fixed, please upgrade to the latest 1.9stable or 1.8stable thanks,

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: