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

The h5p_clean_orphaned_records_task leaves unused h5p export files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.4
    • H5P
    • None
    • MOODLE_404_STABLE

      The task of cleaning up orphaned or unused H5P content after deleting some activities/resources leaves behind unused H5P export files that unnecessarily take up memory space.

       

      steps to reproduce:

      • Create a new course
      • Add an H5P activity to the course (upload h5p file)
      • database entries look like in the attached screenshots (h5p_1.png, h5p_2.png)
      • delete h5p activity or entire course
      • run the h5p_clean_orphaned_records_task
      • database entries look like in the attached screenshots (h5p_3.png, h5p_4.png)
      • the h5p filearea export file remained in the database and is taking up space

       

        1. h5p_1.png
          h5p_1.png
          75 kB
        2. h5p_2.png
          h5p_2.png
          220 kB
        3. h5p_3.png
          h5p_3.png
          68 kB
        4. h5p_4.png
          h5p_4.png
          177 kB

            Unassigned Unassigned
            esoroka Ewa Soroka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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