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

Resource Files (Sections) not being deleted

    XMLWordPrintable

    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

      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:

      1. Login to Course as Teacher
      2. Click Edit Section
      3. Insert Image into Section
      4. Save Section and Image
      5. Delete Image from Section
      6. File remains in the system files

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: