Details
-
Bug
-
Status: Closed
-
High
-
Resolution: On Hold
-
10.2.0
-
None
-
None
Description
The presence of hipposysedit:validators in a super type field causes the derived document type to report "A required field is not present".
Here's the thing.... the inherited field was NEVER added to the derived document type by the CMS admin. Thus any document of that type cannot be saved - despite the mandatory field being absent!
Steps:
1) Create a document type called "super" with several optional fields and one mandatory field (e.g. text).
2) Save and Commit
3) Create a document type called "child" with the super type "super".
4) Add inherited fields from "super" but DO NOT add the mandatory field.
5) Save and commit the document type.
6) Create a regular document of type "child"
7) Attempt to save the document
8a) Expected behavior: the document saves.
8b) Actual behavior: A required field is not present
Suggest Hippo validator ignore inherited fields when they are committed from the document type.