Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.1.1
-
Magnolia 6.2.2 on Tomcat
Description
Setting HierarchyBasedI18nContentSupport as the i18n support on a site with the following structure and just the fallback site definition, (de as fallback locale)
/siteroot/de/en
/siteroot/de/de
Produces proper website links line domain/siteroot/de/en/home
but when using content app elements, the url adds the unwanted locale domain/en/siteroot/de/en/home
Workaround extend MultiSiteLinkTransformerManager with the following
@Override
public AbsolutePathTransformer getAbsolute() {
AbsolutePathTransformer transformer = getAbsolute(true);
transformer.setUseI18N(false);
return transformer;
}
Checklists
Acceptance criteria