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.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

          1. image-2022-09-07-18-50-49-384.png
            837 kB
            Jesus Alonso
          2. image-2022-09-07-18-51-54-119.png
            255 kB
            Jesus Alonso
          3. Screenshot 2022-08-04 at 11.54.51 .png
            226 kB
            Rico Jansen
          4. Screenshot 2022-09-08 at 16.04.51 .png
            221 kB
            Rico Jansen

              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