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

External SCORM manifest URL checks only for syntax

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.3, 2.3, 2.4
    • Fix Version/s: 2.4.1
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide
      1. Get a SCORM Package (zip file)
      2. Unzip it and place it in a folder reachable by HTTP (you can leave the zip itself within that folder)
      3. Take note of the URL pointing to the imsmanifest.xml file , supposing here to be http://hostname/path/to/resource.imsmanifest.xml
      4. Enable allowtypeexternal* in the SCORM Activity settings (/admin/settings.php?section=modsettingscorm)
      5. Create a SCORM activity selecting the Type among the External ones (AICC included)
      6. Paste the URL above in URL field
        • Add a suffix to the URL e.g. .external and click on Save and display: expect Invalid URL specified
        • Change something in the URL appending e.g. .external to /path (=>/path.external/} and click on Save and display: expect Invalid URL specified. Debug message: followed by a preformatted text telling what's going on
      7. Change the Type with the other External and try again the previous step
      8. Select Type equal to External SCORM manifest
      9. Paste the URL, the right one
      10. Click on Save and display: expect the package having been published, play with it just to see the TOC and click on one of the items
      Show
      Get a SCORM Package (zip file) Unzip it and place it in a folder reachable by HTTP (you can leave the zip itself within that folder) Take note of the URL pointing to the imsmanifest.xml file , supposing here to be http://hostname/path/to/resource.imsmanifest.xml Enable allowtypeexternal* in the SCORM Activity settings ( /admin/settings.php?section=modsettingscorm ) Create a SCORM activity selecting the Type among the External ones (AICC included) Paste the URL above in URL field Add a suffix to the URL e.g. .external and click on Save and display : expect Invalid URL specified Change something in the URL appending e.g. .external to /path (=> /path.external/ } and click on Save and display : expect Invalid URL specified. Debug message: followed by a preformatted text telling what's going on Change the Type with the other External and try again the previous step Select Type equal to External SCORM manifest Paste the URL, the right one Click on Save and display : expect the package having been published, play with it just to see the TOC and click on one of the items
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m24_MDL-36641_Missing_external_package_HTTP_check

      Attachments

        Activity

          People

          • Assignee:
            matteo Matteo Scaramuccia
            Reporter:
            matteo Matteo Scaramuccia
            Peer reviewer:
            Dan Marsden
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Ankit Agarwal
            Participants:
            Component watchers:
            Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

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