Merge conflict

Gerrit cannot merge this change. It needs a rebase onto main.

Review main Ready for review

98366[FEATURE] Clean up stored form submissions and their files

Josua Vogel CR 0 V 0 Hard +710 −10 updated 12/05/26, 15:16

Commit message

Stored form submissions were kept until an editor deleted them, and
deleting one left its uploaded files behind. form:cleanup:uploads in
turn removed the files of submissions that are kept, as it only looks
at the age of an upload folder.

The StoreSubmission finisher gets the option "retentionPeriod", which
stores an expiry date with each submission, and the new command
form:cleanup:submissions deletes expired submissions. Deleting a
submission now deletes its uploaded files too, unless another record
references them, and form:cleanup:uploads keeps folders that hold
files of stored submissions.
Resolves: #111741
Related: #111734
Releases: main
Change-Id: I3923271c3749b195224703ee394239b6a36e95c9

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/66/98366/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/66/98366/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Relation chain 3

  1. 98366 [FEATURE] Clean up stored form submissions and their files This change

  2. 98365[FEATURE] Add module to show form submissions This change is based on it Josua Vogel → main Expert +1891 −3 CR 0 V 0 Merge conflict
  3. 98362[FEATURE] Add finisher to store form submissions This change is based on it Josua Vogel → main Expert +1351 −0 CR 0 V 0

Issues 2

Files 26

Show 6 more files Show less

Review log 12

  1. Josua Vogel uploaded patch set 1 12/05/26, 15:06

  2. core-ci voted on patch set 1 V +1 12/05/26, 15:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116460