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

Clean up temporary H5P editor files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9
    • Fix Version/s: None
    • Component/s: H5P
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      When accessing the H5P editor (for instance, via the content bank), all the files are temporarily uploaded to the component='core_h5p' and filearea='editor'. Although these files are copied to the correct component/filearea&friends once the content is saved, these temporary files are never removed.

      There are several approaches/things to look at here (not necessarily all they should be done... it will depend on the findings):

      1. Create a clean task for removing the files with component='core_h5p' and filearea='editor' older than 1 day (or so).
      2. Check if these temporary files can be removed once they are moved to the content.
      3. Check if draft files might replace this component/filearea.

       

      Although this issue has been created as an improvement, if these files are not removed at any point they may collision with existing (but unused) files... so if this issue is not fixed soon, it might become a bug  

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: