Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
Description
When a developer places a field on a vaadin declarative layout which is used for a form, but the property is not defined on the form:
1. The system should not persist any content entered into this field into JCR (because the form definition should be the only definer of the content model)
This is currently implemented, but should be removed:
"It is possible to bind non-Magnolia fields. You do not need to define a form property in YAML before you can use it in the template. Instead, you can insert the component directly into the template. For example, with <vaadin-text-field caption="email" _id="email"/>, you can create a text field as well as store that value in the JCR path specified by the _id attribute email."
2. The system should inform the developer that the field is invalid.How best to do this needs some discussion on technical feasability.
Ideally via a visible indication in the form rendering. Also as a warning in the log, and maybe as a problem in the definitions app.