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

GDPR Data deletion - Course deletion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 3.5.3, 3.5.4
    • Fix Version/s: None
    • Component/s: Privacy
    • Labels:
      None
    • Affected Branches:
      MOODLE_35_STABLE

      Description

      When I select a course in "Data deletion" and I delete it the course remain available also after the scheduled tasks were executed.
      If the course have the self enrollment active, users can enroll to the course and do activities also if all the contexts of the course results as deleted on DB (status 2 in mdl_tool_dataprivacy_ctxexpired).

      STEP TO REPRODUCE

      1. Create a new course
      2. Set auto enrollment active
      3. Set start and end date (you can set also date in the past so you do not wait days)
      4. If not created in data registry, create a purpose for the course (I created a purpose with 1 day retention for the site so the course inherit it)
      5. Create some activities on the course
      6. Do some activities as student on the course
      7. Use "Data deletion" for delete the course
      8. Run the privacy scheduled tasks

      At this point I expect that the course is not available any more but the course is still visile (without participants and with empty activities) and students can enroll and do activities on the course.

      Sorry for my bad English!

        Attachments

          Activity

            People

            • Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              magnogabri Gabriele Renzini
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: