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

'siteaccess' parameter provided for 'ibexa.url.alias' path doesn't work for Site Factory sites

    XMLWordPrintable

Details

    • [4.6] - Sprint 15
    • Ibexa Experience
    • Yes

    Description

      Steps to reproduce:

      1. Enable Site Factory on a fresh installation.
      2. Create a new Site (name it "Test") with public access set to some new domain that is defined in hosts file.
      3. Create an Article inside the newly created folder ("Test") from the previous step.
      4. Add a second location to the Article from the previous step inside the "Ibexa Platform" folder.
      5. Preview the main Landing Page content inside the default Site Access (site).
      6. Edit the templates/themes/standard/pagelayout.html.twig and the following line inside the body block:
        {{ url('ez_urlalias' , {locationId: 80, siteaccess: 'd5c96549d164f4ccaef62f993d40b09501323549'}) }}
        

        where locationId is the main Location of the Article inside the "Test" folder and siteaccess is the identifier of "Test" Site Access created inside the Site Factory.

      7. Observe the URL in the previewed Article in site Site Access.

      Result:
      The URL is invalid, the Site Factory's domain is missing from the URL, it's localhost right now, and should be domain from the step 2.

      Expected result:
      The Site Access of the Site Factory domain should be included in the URL.

      Note:
      A proper domain is visible if Site Access from the .yaml configuration is chosen as siteaccess parameter.

      Designs

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: