-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: 3.0.6
-
Fix Version/s: None
-
Component/s: Web UI
-
Upgrade notes:
In the Breville project we use a Studio defined schema related_products that is defined with prefix relprod. It is the only schema we have where the prefix is different from the schema name.
I found that a document create layout didn't save these properties. It does save the properties of the other schemas, though. I tried changing the prefix to match the schema name (i.e. I changed the prefix to related_products). Then the create layout saved the values of these properties. So using a schema prefix equal to the schema name is workaround I can use for now.
The edit layout does not have this problem, though. It saves these properties even when the prefix is different from the schema name.
The properties are all multi-valued directory entries.
The schema is attached.
Example directory suggestion being used:
<nuxeo-directory-suggestion role="widget" id="portfolios" value="{{document.properties.relprod:portfolios}}" label="[[i18n('label.ui.schema.relprod.portfolios')]]" multiple="true" min-chars="0" directory-name="PIM_Portfolio" name="portfolios" hidden$="[[_isLinkedProductsNotEmpty(linkedProducts)]]"></nuxeo-directory-suggestion>
I tested on LTS 2021, both HF07 and latest hotfix HF12. Web UI version is 3.0.6.