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

SCORM Repository Auto Update Non-functional

    Details

    • Testing Instructions:
      Hide

      To set up initial environment follow instructions from:
      http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/
      titled "Selecting a Zip package as an alias from a repository."
      use the setting "every time it’s used" for Auto-update.

      Then replace your SCORM zip with a new package in the file system repository,
      Enter the SCORM and check to make sure you new package has been loaded instead of the original package

      Show
      To set up initial environment follow instructions from: http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/ titled "Selecting a Zip package as an alias from a repository." use the setting "every time it’s used" for Auto-update. Then replace your SCORM zip with a new package in the file system repository, Enter the SCORM and check to make sure you new package has been loaded instead of the original package
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      master_MDL-44548

      Description

      SCORM modules added from file system repo are not updating when file/s replaced in repo.

      Instructions were followed from:
      http://danmarsden.com/blog/2013/09/24/managing-scorm-content-in-moodle-2-6/

      Essentially:

      1. Save zipped SCORM object to file system repository directory that you have created under moodledata folder
      2. Create new activity in Moodle, selecting SCORM package.
      3. Use file picker to choose SCORM object from file system repository you set up (make sure to select Create an Alias / Shortcut and assign Auto-Update to Every Time It's Used or Daily)
      4. Go through lesson/quiz to completion.
      5. Make change to SCORM object and save updated file in repository directory (renaming or deleting old file).
      6. Enter lesson again to check if update occurred (or after cron job run if Daily selected).

      Current result is no change to the SCORM object when accessed either minutes later, hours later or after cron job.

      Appears file is either a) not being checked properly for difference - although it does appear to be based on code or b) is being checked for difference but still not parsing this information correctly and retrieving the updated file.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  11 Vote for this issue
                  Watchers:
                  22 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/May/15