Details
-
Bug
-
Resolution: Duplicate
-
High
-
None
-
1.13.1, 1.7.8
-
None
-
None
Description
Landing Page Editor displays a 404 Not Found in preview when trying to create a new Landing Page (when Map\Host site access matcher is used)
Steps to reproduce
1. Configure Map\Host siteaccess matcher.
(app/config/ezplatform.yml changes)
siteaccess: list: [site, nor, eng] groups: site_group: [site, nor, eng] default_siteaccess: site match: Map\Host: nor.prod: nor eng.prod: eng platftr.clean: site
(add entries to /etc/hosts if needed)
2. Add Twig variable:
on clean: add
{{ multidomain_access() }}
to file ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/views/pagelayout.html.twig in the <head> section.
3. Open eZ Platform, login as Admin
4. Go to Page
5. Click "Create"
Expected:
Landing Page creator appears
Actual:
Error 404 is displayed in the Landing Page preview.
In the network tab the following is visible:
GET http://platftr.clean/site/ 404 (Not Found)
Note:
Happens on 1.13.1 and on 1.7 branch, but not on 1.7.7
Attachments
Issue Links
- relates to
-
EZEE-1906 SiteAccess Matching with Map\Host Studio
- Closed