Details
-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
6.2.16
-
None
-
None
-
-
Empty show more show less
-
AuthorX 6
Description
Steps to reproduce:
- Go to demo, open Pages app and create a new page (basic template)
- Create a Link component (pageLink) and check that you cannot select variants because they are not even shown
Expected results
The variants can be selected as target page for pageLink fields (as it happened in Magnolia 5)
Actual results
Variants are not shown because the hardcoded allowedType is mgnl:page
Workaround
Include datasource within the pageLinkField definition:
- name: page
$type: pageLinkField
datasource:
$type: jcrDatasource
workspace: website
rootPath: /
allowedNodeTypes:
- mgnl:page
- mgnl:variants
This way, the variant pages appear and can be selected.
Checklists
Acceptance criteria