-
Bug
-
Resolution: Fixed
-
Critical
-
1.4.2
-
None
-
-
Yes
-
Empty show more show less
Situation:
The STK homepage defines the logo and the print logo. In demo project they are chosen from DMS.
When accessing the demo by the mapped domain name (http://demo-project-author.magnolia-cms.com/), the logo is not displayed anymore.
The code starting point is the call getAssetLink(content, nodeDataPrefix, DAMSupport.VARIATION_ORIGINAL);
So it will serve the image directly from DMS and not from the imaging repo/module.
when looking at the rendered URL, it created an external link based on the defaultBaseURL, see print screen.
Cause:
1. No specific DMS mapping is defined for any site -> the ETKSiteManager falls back to default (instead of current)
2. default site has no domain mapping -> fallback to the DomainNamePathTransformer which uses the defaultBaseURL
Correction:
When no explicit repository mapping in a siteDefinition can be detected, it means that the 'requested' content belongs to all. So the ETKSiteManager should return the current-site and not the default-site.
(Included draft patch created together with Philipp)
- caused by
-
MGNLETK-49 when creating links use the current site if multiple sites map to the same content and the current site is one of them
- Closed
- is related to
-
MGNLETK-31 multisite: wrong links created if the default uri to repository mappings use an empty handle prefix
- Closed
-
MGNLETK-59 site mapping: don't ignore the uri prefix when trying to match the path
- Closed
- is superseded by
-
MGNLETK-62 multisite detection: implement a rule based algorithm to make the outcome more predictable.
- Closed