-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
2.2.20
-
None
Steps to reproduce
- Configure a page component containing multiple jcrMultiField, each pointing towards a different workspace (category and tours, for example)
categories: $type: jcrMultiField field: $type: linkField required: true datasource: $type: jcrDatasource workspace: category rootPath: / allowedNodeTypes: - mgnl:folder - mgnl:category tours: $type: jcrMultiField field: $type: linkField required: true datasource: $type: jcrDatasource workspace: tours rootPath: / allowedNodeTypes: - mgnl:folder - mgnl:content
- Configure a REST endpoint to point towards the page containing it, trying to resolve both "field" fields from each jcrMultiField.
- name: categoryList propertyName: field referenceResolver: $type: jcrReferenceResolver targetWorkspace: category - name: toursList propertyName: field referenceResolver: $type: jcrReferenceResolver targetWorkspace: tours
- Perform the REST request over a page with the configured page component
Expected results
Since targetWorkspace is defined for each reference resolver, I would expect both "field" properties to be correctly resolved.
Actual results
Only one of the properties is resolved, while the other is left untouched.
Acceptance criteria