Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.1, 2.2, 3.6.3
-
Fix Version/s: None
-
Component/s: Files API
-
Labels:
-
Environment:LAMP Stack -- Let me know if you need more information
-
Database:MySQL
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_36_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-31145_master_section_files_not_deleted -
Pull Master Diff URL:
Description
When a teacher loads an image/video/file into the section of a course, and then later deletes that image/video/file, the image remains on the backside (within the system files).
The image does not leave the system files at any point and remains. The image/video/file is backed up when the course is backed up therefore creating a larger backup when the resource is actually not in the course.
Can you provide some insight on how to solve this issue, as it appears that even if a file is deleted, it never is really deleted, and this causes some problems with growth and file management in the future.
Replication steps:
- Login to Course as Teacher
- Click Edit Section
- Insert Image into Section
- Save Section and Image
- Delete Image from Section
- File remains in the system files
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-28019 Implement file management for HTML-related file areas
-
- Closed
-
-
MDL-36985 Assignment activity "Download all submissions" action includes files a student removed from online submission text
-
- Closed
-
- will be (partly) resolved by
-
MDL-28019 Implement file management for HTML-related file areas
-
- Closed
-