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

Deleting a page in a lesson does not remove files from fileareas

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-43371-master
    • Hide
      1. Create a lesson, with a "File pop-up"
      2. Add 2 content pages with an image in the description (A and B)
      3. Delete the page A
      4. Make sure that the file from A no longer exists in the lesson area
      5. Delete the lesson
      6. Make sure that
        • The file of B no longer exists in the lesson area
        • The file pop-up no longer exists in the lesson area either

      If MDL-42212 is integrated, you can use the Server Files repository to check if the file is deleted, otherwise observe the mdl_files table.

      Show
      Create a lesson, with a "File pop-up" Add 2 content pages with an image in the description (A and B) Delete the page A Make sure that the file from A no longer exists in the lesson area Delete the lesson Make sure that The file of B no longer exists in the lesson area The file pop-up no longer exists in the lesson area either If MDL-42212 is integrated, you can use the Server Files repository to check if the file is deleted, otherwise observe the mdl_files table.

      1. Create a lesson
      2. Add a content page with an image in the description
      3. Delete the page

      Expected

      • The file no longer exists in the lesson area

      Actual

      • The file has not been deleted from its area

      If MDL-42212 is integrated, use the Server Files to check if the file is deleted, otherwise observe the mdl_files table.

      The same problem happens when deleting a lesson.

            fred Frédéric Massart
            fred Frédéric Massart
            Andrew Davis Andrew Davis
            Damyon Wiese Damyon Wiese
            Adrian Greeve Adrian Greeve
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.