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

SCORM replace filepicker element with filemanager and allow linking.

    Details

    • Testing Instructions:
      Hide

      Test 1
      Upload a SCORM package using the add an activity dialogue then use the filepicker to upload a SCORM, set "auto-updat frequency" to every day (or every time it's used)
      Save page and make sure the error "Auto-update frequency can only be set when the package file is hosted externally" is thrown.

      Test 2
      Set up a file level repository and store some SCORM packages in the repository.
      Create a new SCORM package using the add an activity dialogue and use the filepicker to select a SCORM zip package from a repository and use the option "create an alias/shortcut to the file" - save the SCORM and make sure the SCORM package loads as expected. Also test the option "Make a copy of the file" to make sure that works as expected as well.

      Test 3
      Set up a file level repository and store some SCORM packages in the repository.
      Create a new SCORM package using the add an activity dialogue and use the filepicker to select a SCORM zip package from a repository and use the option "create an alias/shortcut to the file" - also set the auto update frequency to "every time it's used" - Enter the SCORM to make sure it loads as expected.
      Modify the SCORM package stored in the external repository (keeping the same scorm zip filename)
      by changing the title of one of the scos or by modifying something else you will recognise and then enter the SCORM
      and make sure the SCORM loads when entering as a student.

      Test 4 (cron)
      Set up a file level repository and store some SCORM packages in the repository.
      Create a new SCORM package using the add an activity dialogue and use the filepicker to select a SCORM zip package from a repository and use the option "create an alias/shortcut to the file" - also set the auto update frequency to "every day" - Enter the SCORM to make sure it loads as expected.
      Modify the SCORM package stored in the external repository (keeping the same scorm zip filename)
      by changing the title of one of the scos or by modifying something else you will recognise (don't enter the SCORM again yet)

      Run the scorm cron code (it will only run close to midnight unless you hack it) - It could be good to add a bug tracker to improve the time handling in scorm_cron.
      After scorm_cron code has triggered the daily update stuff enter the SCORM as a student and check that the content was updated.

      Show
      Test 1 Upload a SCORM package using the add an activity dialogue then use the filepicker to upload a SCORM, set "auto-updat frequency" to every day (or every time it's used) Save page and make sure the error "Auto-update frequency can only be set when the package file is hosted externally" is thrown. Test 2 Set up a file level repository and store some SCORM packages in the repository. Create a new SCORM package using the add an activity dialogue and use the filepicker to select a SCORM zip package from a repository and use the option "create an alias/shortcut to the file" - save the SCORM and make sure the SCORM package loads as expected. Also test the option "Make a copy of the file" to make sure that works as expected as well. Test 3 Set up a file level repository and store some SCORM packages in the repository. Create a new SCORM package using the add an activity dialogue and use the filepicker to select a SCORM zip package from a repository and use the option "create an alias/shortcut to the file" - also set the auto update frequency to "every time it's used" - Enter the SCORM to make sure it loads as expected. Modify the SCORM package stored in the external repository (keeping the same scorm zip filename) by changing the title of one of the scos or by modifying something else you will recognise and then enter the SCORM and make sure the SCORM loads when entering as a student. Test 4 (cron) Set up a file level repository and store some SCORM packages in the repository. Create a new SCORM package using the add an activity dialogue and use the filepicker to select a SCORM zip package from a repository and use the option "create an alias/shortcut to the file" - also set the auto update frequency to "every day" - Enter the SCORM to make sure it loads as expected. Modify the SCORM package stored in the external repository (keeping the same scorm zip filename) by changing the title of one of the scos or by modifying something else you will recognise (don't enter the SCORM again yet) Run the scorm cron code (it will only run close to midnight unless you hack it) - It could be good to add a bug tracker to improve the time handling in scorm_cron. After scorm_cron code has triggered the daily update stuff enter the SCORM as a student and check that the content was updated.
    • URL:
      N/A
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_23_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      master_MDL-28579

      Description

      Moodle repositories now have a feature in the filmanager element that allows "linking" to files rather than copying directly into Moodle. We need to allow SCORM to use this feature.
      first allow linking to the package/zip file and then running some form of check to update the unpackaged content for that individual SCORM.

      second allow unzipped content and linking to an imsmanifest.xml file and not storing/extracting the content into Moodle at all.

      I may create sub-tasks on this to achieve the different bits that are required.

      See http://moodle.org/mod/forum/discuss.php?d=178751 for recent discussion and at least two votes for this improvement.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  29 Vote for this issue
                  Watchers:
                  28 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    18/Nov/13