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

SCORM alias file does not refer to the right context

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.6.2
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      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/
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-44247-master

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Mar/14