Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.6.3, 2.0
-
Fix Version/s: STABLE backlog
-
Component/s: Database activity module
-
Labels:
-
Database:MySQL
-
Affected Branches:MOODLE_16_STABLE, MOODLE_20_STABLE
Description
If you upload a file in a database entry and then wish to delete that file there is no way to do so in the UI.
If you delete the file from the backend (i.e. going into the course files area or via ftp etc.) the link remains and an error is thrown (just stating the obvious i.e. can't find file).
You can get rid of the link (as long as you only enter a space in the the link optional file name field), and therefore, the error message, but can not get rid of the file icon.
Workaround is to delete the entry itself and add it again without the file.