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

Page Builder's preview not working after clicking on a link

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Customer request, 2.5.22, 3.3.7
    • 2.5.19, 3.2.7
    • None
    • None

    Description

      When a Map\Host matcher is used and backoffice SiteAccess is configured to use a different domain than frontend SiteAccess, previewing Content in PageBuilder will fail, after clicking on the link inside the previewed Content.

      Steps to reproduce:
      1. Clean installation of eZ Platform EE v2.5.19 or Ibexa DXP v3.2.7
      2. Configure your project to use two domains: site.localhost and admin.localhost

      default_siteaccess: site
      match:
          Map\Host:
              site.localhost: site
              admin.localhost: admin 

      and

       page_builder:
          siteaccess_list: [site]
          siteaccess_hosts:
              - admin.localhost

      3. Log in to the back office as an admin user, create and publish a new Landing Page in the Content Tree Root called Test.
      4. Edit Home Landing page, add Code Block containing:

      <a href="/test">Test</a> 

      5. Open preview of Home in Page Builder.
      6. Click on the "Test" link.

      Result:

      Cannot display this page in the Page Builder.
      
      The preview couldn’t be loaded. This preview page is on another domain, that is not configured to work with Page Builder. 

      Expected result:
      Page is displayed normaly.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.bieniek@ibexa.co Mateusz Bieniek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: