Details
-
Bug
-
Resolution: Fixed
-
High
-
4.5.0, 3.3.34
-
[4.6] - Sprint 15
-
Ibexa Experience
-
Yes
Description
Steps to reproduce:
- Enable Site Factory on a fresh installation.
- Create a new Site (name it "Test") with public access set to some new domain that is defined in hosts file.
- Create an Article inside the newly created folder ("Test") from the previous step.
- Add a second location to the Article from the previous step inside the "Ibexa Platform" folder.
- Preview the main Landing Page content inside the default Site Access (site).
- 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.
- 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.