Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-24426

Restoration and cleanup of deleted files (non kernel)

    XMLWordPrintable

    Details

    • Property addition/change required:
      Yes
    • Test Plan:
      Hide

      Okay, here's the two obvious things to test.

      • With no bodyPath or bodyPathDeleted set, this should work and write files to database tables. You should be able to upload files, remove files, go into the restoration screen, restore and remove files.
      • If
        bodyPath@org.sakaiproject.content.api.ContentHostingService
        and
        bodyPathDeleted@org.sakaiproject.content.api.ContentHostingService

      are both set, it should write these files to the filesystem. If you set bodyPath but not bodyPathDeleted, I guess it writes the deleted files to the database?

      Show
      Okay, here's the two obvious things to test. With no bodyPath or bodyPathDeleted set, this should work and write files to database tables. You should be able to upload files, remove files, go into the restoration screen, restore and remove files. If bodyPath@org.sakaiproject.content.api.ContentHostingService and bodyPathDeleted@org.sakaiproject.content.api.ContentHostingService are both set, it should write these files to the filesystem. If you set bodyPath but not bodyPathDeleted, I guess it writes the deleted files to the database?

      Description

      For tracking the non-kernel commits of KNL-309

      Needs quartz job from https://github.com/ox-it/wl-content-cleanup\

      There's a property for this one
      #How many days to retain deleted content
      content.keep.deleted.files.days=30

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code