-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 73.17.3
-
Component/s: Layouts & Widgets, Studio Designer
-
Tags:
-
Sprint:NOS 10.3.2
In Studio Modeler
- Create a schema with a multivalued complex field, including a string sub field
- Create a page provider with a predicate on the complex sub field
So far predicate will look like schemaprefix:field/subfield = (something)
- Save
=> A validation error is shown in Modeler
Predicate references non-existent field schemaprefix:field/subfield
- Go to Designer
=> Layouts fail loading
nuxeo-view-designer.html:245636 Unhandled promise rejection TypeError: Cannot read property 'subFields' of undefined at nuxeo-view-designer.html:309523 at Array.forEach (<anonymous>) at nuxeo-view-designer.html:309502 at Array.forEach (<anonymous>) at nuxeo-view-designer.html:309498 at Array.forEach (<anonymous>) at RegistryServiceRemote._appendPageProvidersSchemas (nuxeo-view-designer.html:309491) at RegistryServiceRemote._parseRegistries (nuxeo-view-designer.html:309325) at nuxeo-view-designer.html:309201
Expected:
- Designer should load
- Error message should only be shown in modeler when relevant