[PAGES-572] pageLinkField not showing variants Created: 09/Mar/22 Updated: 16/Aug/22 Resolved: 10/Aug/22 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | 6.2.16 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Carlos Cantalapiedra | Assignee: | Laura Delnevo |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Epic Link: | AuthorX Support | ||||
| Sprint: | AuthorX 6 | ||||
| Team: | |||||
| Description |
Steps to reproduce:
Expected resultsThe variants can be selected as target page for pageLink fields (as it happened in Magnolia 5) Actual resultsVariants are not shown because the hardcoded allowedType is mgnl:page WorkaroundInclude 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. |