Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3723

Refactor MetaInfo to generic VFS, make sure it gets always deleted and copied

    XMLWordPrintable

    Details

      Description

      It seems the meta info about files gets not deleted properly, at least not for many type of files. At first look this is due to the fact that the MetaInfo infrastructure is a feature of the briefcase module and not the VFS. In contrast, the versions which work similar to the meta info, are part of the VFS and thus properly deleted when a folder is deleted (at least it seems so). 

      What ideally should work: 

      • When deleting a file anywhere, the meta info should be deleted as well (✓)
        • when versioning is enabled, the meta of orphan files should only be deleted when the orphan is finally deleted (flush trash) (✓)
      • Copying a file/directory should also copy the meta info (✓)
      • Unzipping a file should at least add the correct owner to the unzipped files

       

      In addition (but this is not necessarily part of this issue), when exporting something (specifically a course, maybe also in a ZIP?), the relevant meta info should be exported as well and during import (unzip?) the system should look if there is some attached meta info and restore it to the correct place. 

      Moving the meta info to the database would have some advantages as well, but this should be implemented / considered in another issue once the meta data handing of files is clean.

       

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              gnaegi Florian Gnägi
              Tester:
              Mandy Menzel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 2 hours, 15 minutes
                3d 2h 15m