Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-584

pageLink field shows ui-framework-jcr:chooser instead of pages-app:chooser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 6.3, 6.2.24
    • None
    • None

      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

        Acceptance criteria

              lam.nguyen Lam Nguyen Bao
              rico.jansen Rico Jansen
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 3h
                    3h