-
Bug
-
Resolution: Fixed
-
Critical
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
wip-
MDL-33719-master -
When overwriting a copy of a file with an alias/shortcut of a file; the file icon is not refreshed in the file manager form element. Upon clicking the icon, the dialog that opens contains details of the copy of the file and not the shortcut/alias.
To recreate:
Test pre-requisites:
- A box.net repository is enabled or any other repository that supports shortcuts/aliases.
- Log into Moodle as admin, teacher or any role capable of adding a file resource.
- Navigate to my private files and add a file, as a shortcut/alias, using file picker.
- Navigate to a course page and create a file resource.
- Add a file from box.net repository to the file manager form element using the filepicker, selecting to create a copy of the file.
- Add the same file to the file manager form element again, from the same repository, selecting the option to create a shortcut/alias of the file.
- When prompted select 'overwrite'.
- Click on the file icon.
Expected result:
- The File icon appears as a shortcut/alias.
- Upon clicking on the file the details are displayed as a shortcut/alias.
Actual result:
- The file icon appears as a file, not a shortcut.
- The file details are those of the copy of the file and not the shortcut/alias.
- blocks
-
MDL-39177 Overwriting files does not observe the "alias" attribute always...
- Closed
- has a non-specific relationship to
-
MDL-33587 Deleting a single alias to a file unlinks all other aliases to that file
- Closed
- is duplicated by
-
MDL-33802 Overwriting an alias/shortcut with an uploaded file
- Closed