-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 3.30.2
-
Fix Version/s: 3.31.0
-
Component/s: Studio Designer
-
Tags:
-
Team:UI
-
Sprint:UI - 2020-05 2
Steps to reproduce:
- Create a schema with the id myschema and the prefix ms.
- Add a multivalued String field to it, with the id strings.
- Create a doctype with the id and label mydoctype.
- Add myschema to mydoctype.
- In Designer, scaffold the create layout for mydoctype.
- Try to edit the nuxeo-data-table generated for the strings field. Notice that the table editor does not open and in the console it is logged "Cannot read property 'fields' of undefined".
If the prefix of the schema is changed to myschema and the create layout is re-scaffolded, everything works as expected. This can also be reproduced by scaffolding the create layout for the File doctype, drag and dropping the facetedTag:tags field and trying to edit the generated nuxeo-data-table element (because the prefix for this schema is actually nxtag).