Bug #84448
closed
Form editor breaks if property path does not exists
Added by Ralf Zimmermann over 6 years ago.
Updated about 6 years ago.
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'.
- Status changed from Accepted to Under Review
- Description updated (diff)
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.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF