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

invalid use of root_path in filesystem/lib.php send_relative_file()

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      set up a file system repository
      Add an extracted SCORM package to this repository
      Add a new SCORM to a course and select the imsmanifest.xml file from within the extracted SCORM package (make sure you select the option to make it an alias/shortcut (not a copy) - if alias is not selected when saving the SCORM page it should throw an error to say imsmanifest.xml is only supported when using an alias.

      Enter the SCORM and make sure all resources/images/files load as expected.

      more docs (screenshots) of this are available here:
      http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/

      Show
      set up a file system repository Add an extracted SCORM package to this repository Add a new SCORM to a course and select the imsmanifest.xml file from within the extracted SCORM package (make sure you select the option to make it an alias/shortcut (not a copy) - if alias is not selected when saving the SCORM page it should throw an error to say imsmanifest.xml is only supported when using an alias. Enter the SCORM and make sure all resources/images/files load as expected. more docs (screenshots) of this are available here: http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      master_MDL-43192

      Description

      MDL-41807 patch didn't change the old uses of root_path to get_rootpath in send_relative_file() - hopefully just changing it to use the new function will allow it to work again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              danmarsden Dan Marsden
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Marina Glancy
              Tester:
              Andrew Nicols
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/14