Details
-
Bug
-
Resolution: Fixed
-
High
-
1.12.0
-
None
-
[2.3] Sprint 1
Description
It is impossible to edit or go back to view mode in Landing Page editor when Compound\LogicalAnd siteaccess matching used.
Steps to reproduce
- Configure siteaccess matching using Compound\LogicalAnd matcher. See snippet below.
- Create Landing Page (or use default one)
- Go to Landing Page editor.
- For the site (default and admin siteaccess) editor works as expected.
- Switch to one of the other siteaccesses, for e.g. ger
- If you close the error message bar, and switch to Edit, then you will be able to edit and/or publish LP, but if you want to switch back to view mode, then you will get an exception. See code below.
Current behaviour
1. Error message at the bottom, red bar:
Cannot get page information from the server
2. In console:
{message: "Cannot get page information from the server", identifier: "get-page-info"} identifier:"get-page-info" message:"Cannot get page information from the server" __proto__:Object
3. In the browser URL bar, you can see that LP editor adds URI prefix twice, for e.g. de-de/de-de for ger siteaccess.
4. Missing URL and undefined Last edited by in page descripion. See attached screenshots.
5. Two highlighted siteaccesses. See attached screenshots.
6.
No route found for "GET /de-de/de-de/" (from "http://e12solr.local:8103/ez")
Configuration
SiteAccess configuration:
siteaccess: list: [site, eng, ger, fre] groups: site_group: [site, eng, ger, fre] default_siteaccess: site match: Compound\LogicalAnd: eng: matchers: Map\URI: en-gb: true Map\Host: e12solr.local: true match: eng ger: matchers: Map\URI: de-de: ger Map\Host: e12solr.local: true match: ger fre: matchers: Map\URI: fr-fr: fre Map\Host: e12solr.local: true match: fre Map\Host: e12solr.local: site system: site_group: cache_pool_name: '%cache_pool%' var_dir: var/site content: site: languages: - eng-GB - fre-FR - ger-DE eng: languages: - eng-GB ger: languages: - ger-DE fre: languages: - fre-FR
In 1.7.6
Using mentioned siteaccess configuration in eZ Platform 1.7.6 it is not reproducible because the whole editor is "frozen" and you can see only infinitive spinner.
Attachments
Issue Links
- relates to
-
EZEE-1866 Landing Page editor doesn't work with Map\URI siteaccess matcher
- Closed