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

[BO] Preview on "Content tree hover" is broken when BO is not using /admin path

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request, 4.6.2
    • 4.6.1
    • None
    • None
    • Ibexa Commerce, Ibexa Experience
    • Yes

    Description

      Steps to reproduce:

      • Setup admin SiteAccess to use a separate domain:
        config/packages/ibexa.yaml
        ..
            match:
                # URIElement: 1 <- disable URIElement matching
                Map\Host:
                    test-admin.ddev.site: admin
                    test.ddev.site: site
        ..
        

      Expected Result:

      Result:
      No Content is shown.
      Developer tools show console error:

      ibexa-site-context-location-preview-js.js:25 Uncaught TypeError: Cannot read properties of null (reading '1')
          at getLocationIdFromHref (ibexa-site-context-location-preview-js.js:25:58)
          at ibexa-site-context-location-preview-js.js:99:26
      

      Designs

        Attachments

          1. preview_admin.png
            184 kB
            Thorsten Reiter
          2. site-context.png
            21 kB
            Thorsten Reiter

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: