Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
Description
The Vanity URL app module is a great idea. But please check compatibilty to Magnolia CE.
After some debugging I think the reason of the incompatibilty is that there is no "default" site in CE release. On CE the following method returns "site".
private String retrieveSite() { String siteName = "default"; AggregationState aggregationState = MgnlContext.getAggregationState(); if (aggregationState instanceof ExtendedAggregationState) { Site site = ((ExtendedAggregationState) aggregationState).getSite(); siteName = site.getName(); } return siteName; }
As there is "site" option in the edit dialog things run on an error...
First guess would be one of these options...
- in CE skip the site selection and use some kind of default behaviour
- method retrieveSite should simple return "default" if CE
Thanks for an update.
Checklists
Acceptance criteria
Attachments
Issue Links
- relates to
-
VANITY-5 App relies on installed Multi-Site Module
-
- Resolved
-