Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
14.6.3
-
None
-
Flagged
-
Quasar
-
Team Quasar sprint 278, Quasar sprint 279
Description
Since 14.6.3, component icons in the Channel Manager are rendered with fully qualified URLs instead of relative URLs. This seems unintended and causes problems in case the CMS host is different than the site host.
In org.hippoecm.hst.pagecomposer.jaxrs.model.ComponentRepresentation#represent there's this piece of code
if (StringUtils.isNotBlank(iconPath)) { HstRequestContext requestContext = RequestContextProvider.get(); iconURL = requestContext.getHstLinkCreator().create(iconPath, mount, true).toUrlForm(requestContext, false); }
Note, the last "false" is a fullyQualified flag.
On a local 14.6.2 archetype-based project, this is a relative URL, e.g.
/site/images/essentials/catalog-component-icons/simple-content.svg
On a local 14.6.3 archetype-based project, this is a fully qualified URL, e.g.
http://localhost:8080/site/images/essentials/catalog-component-icons/simple-content.svg
I suspect CMS-14805 to be the cause.
Attachments
Issue Links
- is a result of
-
CMS-14805 [Backport 14.7, 14.6.3] Page Composer requests should be cms (platform) requests and not marked as 'channel manager preview requests'
- Closed