Bug #84448
closedForm editor breaks if property path does not exists
100%
Description
The form editor breaks if an property path which should be validated within the form editor does not exists within the form definition and this property is not defined through the 'predefinedDefaults'.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56326
Updated by Ralf Zimmermann over 6 years ago
Test is:
formDefinition:
type: Form identifier: test label: test prototypeName: standard renderables: - type: Page identifier: page-1 label: Step renderables: - type: Number identifier: number-1 label: Number
defaultValue is not set but should be validated within the form editor.
No fake an incomplete setup.
Goto EXT:form/Configuration/Yaml/FormEditorSetup.yaml and search for
TextMixin: formEditor: predefinedDefaults: defaultValue: ''
remove the line with 'defaultValue'
TextMixin: formEditor: predefinedDefaults: # defaultValue: ''
Clear caches, go to the form editor and open this form.
Without the patch, the form editor breaks and show the spinner endless.
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56326
Updated by Gerrit Code Review over 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56326
Updated by Gerrit Code Review over 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56326
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56716
Updated by Ralf Zimmermann over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e40887f07aef110c5907810a882893837051cc40.