98360[FEATURE] Allow disabling the first form page
Commit message
Form pages can be disabled with "renderingOptions.enabled", either directly or via variants, except the first page: the form runtime threw an exception in that case. The runtime now starts with the first enabled page. When a visitor navigates back to a disabled first page, the first enabled page is shown instead of finishing the form. An exception is only thrown if no page of the form is enabled. This also prepares enabling and disabling steps in the form editor.
Resolves: #111732 Related: #111731 Releases: main Change-Id: I344f0114eaed1a182080098ac7747b2dc19dee5d
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/60/98360/1 && git checkout FETCH_HEAD
- Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/60/98360/1 && git cherry-pick FETCH_HEAD
Review
-
Code review CR +1 Needs a vote
- Matthias Vogel +1
- Simon Schaufelberger +1
-
Verified V +1 Needs a vote
- Matthias Vogel +1
- Simon Schaufelberger +1
- core-ci +1 CI
Relation chain 2
- 98361[FEATURE] Allow disabling steps in the form editor
-
98360 [FEATURE] Allow disabling the first form page This change
Merge conflicts 6
- 98369[FEATURE] Add spam protection provider API to forms
- 94572[TASK] Resolve EXT:form variants lazily per step
- 92589[TASK] Replace unneeded instanceof on xxx|null. Use a null check instead
- 94571[WIP][BUGFIX] Re-evaluate form variants per step and make them revertible
- 94128[WIP][FEATURE] Provide a webhook for EXT:form submissions
Show 1 more change Show less
Issues 2
Files 4
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-111732-AllowDisablingTheFirstFormPage.rstnew+52 −0
- typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php+16 −9
- typo3/sysext/form/Documentation/I/Concepts/Variants/Index.rst+9 −5
- typo3/sysext/form/Tests/Functional/Domain/Runtime/FormRuntimeTest.php+117 −0
Review log 34
-
Josua Vogel uploaded patch set 1 12/05/26, 10:49
-
core-ci voted on patch set 1 V +1 12/05/26, 10:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116436
-
Matthias Vogel voted on patch set 1 CR +1 V +1 12/05/26, 11:27
-
Simon Schaufelberger voted on patch set 1 CR +1 V +1 12/05/26, 20:29