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

Overwrite SCORM file breaks alias/shortcut and true copies are made

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.8.5, 3.9.2
    • None
    • Repositories, SCORM
    • None
    • MOODLE_38_STABLE, MOODLE_39_STABLE

    Description

      The situation is when you have a SCORM file (zip) in a course and another course uses this file via an alias/shortcut.

      1. Set up the SCORM activity with the source file and another SCORM activity in a different location with an alias/shortcut to the source file.

      2. Update the source file by dragging a new file with the same name into the file section of the SCORM activity, choose to Overwrite the file at the popup confirmation.

      3. For a few moments, it looks like everything is fine (perhaps 30 seconds).

      4. After a few moments, there is no longer a dependency showing in the source file and the dependent activity now has the alias converted to a true copy of the original source file.

      Expected behaviour when Overwriting a file with the same file name is that all alias are preserved and the updated material can be seen in the SCORM activities that use the alias.

      Moodle docs also supports this expected behaviour:

      https://docs.moodle.org/39/en/Working_with_files

       

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              KateFromAustralia Kate Schulze
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: