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

Unenrolled students' assignment submission files never deleted

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_34_STABLE

      Description

      When a student uploads a file to an assignment and then the student is unenrolled from that course the submission file is not deleted from the moodledata, although it isn't available any more.

      I understand that the clean up should not be done just when the student gets unenrolled (to avoid data loss in wrong unenrollments), but I think these files should be deleted some (reasonable) time after unenrolment.

      This is something that happens to us because we usually reuse courses, but I don't know if this is something deliberate and we should reset all the courses' assignents before reusing courses or (as I think) it's a bug as far as these files are never going to be used again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              izendegi Iñigo Zendegi
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated: