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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.8.5, 3.9.2
    • Fix Version/s: None
    • Component/s: Repositories, SCORM
    • Labels:
      None
    • Affected Branches:
      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

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              KateFromAustralia Kate Schulze
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: