98362[FEATURE] Add finisher to store form submissions
Commit message
EXT:form had no way to keep submissions; editors needed a third-party extension to see what was submitted. The new StoreSubmission finisher stores each submission in the table form_submission as a versioned JSON payload with label and display value per element, so it stays readable after the form changes. Sensitive element types are excluded by a rendering option rather than a variant, because variants applied for one finisher stay applied for the following ones. A backend module and a cleanup command follow separately.
Resolves: #111734 Releases: main Change-Id: I35d982432f8b905b0b012517cb9ec99a80dfdf21
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 4
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/62/98362/4 && git checkout FETCH_HEAD
- Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/62/98362/4 && 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
- 98366[FEATURE] Clean up stored form submissions and their files
- 98365[FEATURE] Add module to show form submissions
-
98362 [FEATURE] Add finisher to store form submissions This change
Merge conflicts 15
- 98366[FEATURE] Clean up stored form submissions and their files
- 98355[FEATURE] Allow disabling validators in the form editor
- 96364[FEATURE] Allow disabling duplication of forms
- 94093[FEATURE] Use translation domains for form backend labels
- 97596[FEATURE] Add webhook finisher to the form framework
- 96543[WIP][POC][TASK] Write and read records by the same rules and rights
- 91602[FEATURE] Modernize extbase plugin registration
- 87873[BUGFIX] Name dropdown toggles and open them natively
- 94059[!!!][FEATURE] Render a documented class contract in EXT:form frontend
- 97550[TASK] Deprecate language key "default" in TypoScript _LOCAL_LANG
- 94503[WIP][TASK] Save finishers in dedicated table
- 94128[WIP][FEATURE] Provide a webhook for EXT:form submissions
- 93558[POC][FEATURE] form <3 tca
- 93398[WIP][!!!][FEATURE] Synchronise extension YAML form definitions into database
- 82154[WIP][FEATURE] Simplify Extbase plugin configuration and registration
Show 10 more changes Show less
Issues 1
Files 25
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-111734-StoreFormSubmissions.rstnew+117 −0
- typo3/sysext/form/Classes/Domain/Finishers/StoreSubmissionFinisher.phpnew+260 −0
- typo3/sysext/form/Classes/Event/BeforeFormSubmissionIsStoredEvent.phpnew+52 −0
- typo3/sysext/form/Classes/EventListener/SkipSubmissionFilesOnCopy.phpnew+43 −0
- typo3/sysext/form/Classes/Hooks/FormSubmissionDataHandlerHook.phpnew+55 −0
- typo3/sysext/form/Configuration/Form/Base/Finishers/StoreSubmission.yamlnew+12 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/AdvancedPassword.yaml+2 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/ContentElement.yaml+2 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Form.yaml+30 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Honeypot.yaml+2 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Password.yaml+2 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/StaticText.yaml+2 −0
- typo3/sysext/form/Configuration/Form/Base/config.yaml+1 −0
- typo3/sysext/form/Configuration/TCA/form_submission.phpnew+72 −0
- typo3/sysext/form/Configuration/page.tsconfig+4 −0
- typo3/sysext/form/Documentation/I/Concepts/Finishers/ReadyToUseFinishers/StoreSubmissionFinisher/_codesnippets/_finisher.php.incnew+13 −0
- typo3/sysext/form/Documentation/I/Concepts/Finishers/ReadyToUseFinishers/StoreSubmissionFinisher/_codesnippets/_form.yamlnew+26 −0
- typo3/sysext/form/Documentation/I/Concepts/Finishers/ReadyToUseFinishers/StoreSubmissionFinisher/Index.rstnew+85 −0
- typo3/sysext/form/Documentation/I/Concepts/Finishers/ReadyToUseFinishers/Index.rst+5 −0
- typo3/sysext/form/Resources/Private/Language/Database.xlf+21 −0
- typo3/sysext/form/Resources/Private/Language/locallang_db.xlf+21 −0
- typo3/sysext/form/Tests/Functional/Domain/Finishers/StoreSubmissionFinisherTest.phpnew+412 −0
- typo3/sysext/form/Tests/Functional/Hooks/Fixtures/FormSubmissionDataHandlerHookTest.csvnew+11 −0
- typo3/sysext/form/Tests/Functional/Hooks/FormSubmissionDataHandlerHookTest.phpnew+97 −0
- typo3/sysext/form/ext_localconf.php+4 −0
Show 5 more files Show less
Review log 48
-
Josua Vogel uploaded patch set 1 12/05/26, 12:44
-
core-ci voted on patch set 1 V +1 12/05/26, 12:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116448
-
Josua Vogel uploaded patch set 2
V +112/05/26, 14:03 -
core-ci voted on patch set 2 V +1 12/05/26, 14:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116453
-
Josua Vogel uploaded patch set 3
V +112/05/26, 14:25 -
core-ci voted on patch set 3 V +1 12/05/26, 14:33 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116455
-
Josua Vogel uploaded patch set 4
V +112/05/26, 15:06 -
core-ci voted on patch set 4 V +1 12/05/26, 15:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116458