Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-1271

URLs generated for site accesses don't take `tree_root` into consideration

    XMLWordPrintable

Details

    • Ibexa Experience

    Description

      Steps to reproduce:

      1. Clean installation of Ibexa DXP.
      2. Create en Folder under Ibexa Digital Experience Platform folder, remember its Location ID, create any other Folder on the same level.
      3. Add the new site access with the location from the previous step:
                en:
                    languages: [eng-GB]
                    content:
                        tree_root:
                            location_id: 61
        
                    page_builder:
                        siteaccess_list: [site, en]
        
      4. Click on second folder in the Content Tree.
      5. Observe the link to the en site access under the Page navbar.

      Result:
      The URL doesn't take 'tree_root' into consideration. The observed URL is:

      http://localhost:8001/admin/page/preview/62/eng-GB/9/en

      Expected result:
      The URL takes 'tree_root' into consideration. The observed URL should be:

      http://localhost:8001/admin/page/preview/61/eng-GB/1/en

      So it should include ID of en folder.

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: