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

SCORM alias file does not refer to the right context

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.1
    • 2.6.2
    • SCORM
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-44247-master
    • Hide
      1. Enable a file system repository and allow relative paths
      2. In the repository, extract a SCORM zip
      3. Make sure you have a context of ID 10, if not create some users.
      4. Delete the entry or temporarily change its ID
      5. Create a scorm activity and pick the imsmanifest file from the repository as an Alias/shortcut
      6. Save
      7. Make sure there are no errors, everything is fine and the activity is working

      For further help setting up file system repo and allowing relative paths see this post:
      http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/

      Show
      Enable a file system repository and allow relative paths In the repository, extract a SCORM zip Make sure you have a context of ID 10, if not create some users. Delete the entry or temporarily change its ID Create a scorm activity and pick the imsmanifest file from the repository as an Alias/shortcut Save Make sure there are no errors, everything is fine and the activity is working For further help setting up file system repo and allowing relative paths see this post: http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/

    Description

      When creating/updating a SCORM activity using an alias for its imsmanifest.xml file, the context used is wrong.

      To replicate

      1. Enable a file system repository and allow relative paths
      2. In the repository, extract a SCORM zip
      3. Make sure you have a context of ID 10, if not create some users.
      4. Delete the entry or temporarily change its ID
      5. Create a scorm activity and pick the imsmanifest file from the repository as an Alias/shortcut
      6. Save

      Expected:

      • No errors, everything is fine and the activity is working

      Actual:

      • An error occur and nothing is saved

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              fred Frédéric Massart
              Dan Marsden Dan Marsden
              Damyon Wiese Damyon Wiese
              Ankit Agarwal Ankit Agarwal
              Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Mar/14