[PAGES-584] pageLink field shows ui-framework-jcr:chooser instead of pages-app:chooser Created: 08/Apr/22  Updated: 12/Jul/23  Resolved: 31/Oct/22

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3, 6.2.24

Type: Bug Priority: Medium
Reporter: Rico Jansen Assignee: Lam Nguyen Bao
Resolution: Fixed Votes: 0
Labels: quickwin
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 3h Time Spent: 3h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File Screenshot 2022-08-04 at 11.54.51 .png     PNG File Screenshot 2022-09-08 at 16.04.51 .png     PNG File image-2022-09-07-18-50-49-384.png     PNG File image-2022-09-07-18-51-54-119.png    
Issue Links:
Problem/Incident
is caused by MGNLUI-6143 RichTextField: use new chooser dialog... Closed
relation
is related to PAGES-474 Provide generic chooser dialog defini... Closed
is related to PAGES-1252 Page chooser dialog search degraded Open
is related to PAGES-597 Redundancy of page choosers Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
PAGES-911 QA Sub-task Completed Thuy To  
PAGES-912 Port to master Sub-task Completed Lam Nguyen Bao  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* 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: AuthX 17, AuthX 20
Story Points: 0.5
Team: AuthorX

 Description   

When using the $type: pageLinkField for a field like is done in one the links in the footer of the demo travel page: https://demo.magnolia-cms.com/.magnolia/admincentral#app:pages-app:detail;/travel:edit

When choosing a new link one is presented with the generic jcr chooser instead of the pages app chooser.

This issue is also present when linking a page on a RichText type field, where the generic chooser is used, not providing information about the selected page. The workaround would apply for both scenarios.

Workaround:

  • Manually overriding PageLinkFieldDefinition to set the chooser id to pages-app:chooser
  • Using our custom PageLinkFieldDefinition in RichTextFieldDefinition (would have to create a custom definition for this) for the website workspace.

Solution: PageLinkFieldDefintion sets the chooserId to pages-app:chooser in the constructor



 Comments   
Comment by Jesus Alonso [ 07/Sep/22 ]

It looks correct to me in both cases. I think it was fixed by MGNLUI-6143.

Comment by Rico Jansen [ 08/Sep/22 ]

But those are incorrect, the page chooser should show name, publish status, lastmodified and title.

As shown in the definitions app per attached screenshot.

 

 

Comment by Rico Jansen [ 08/Sep/22 ]

I have attached a screenshot with how ours looks, which contains an extra column (template) which was added using decoration on the pages-app chooser.

 

Generated at Mon Feb 12 06:20:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.