Description
When creating an absolute link with the code below, the behavior changes dependin on the Channel manager session.
public static String getImageLink(HstRequestContext requestContext, HippoBean linkBean) { return requestContext.getHstLinkCreator() .create(linkBean.getNode(), HstUtils.getMount()) .toUrlForm(requestContext, true); }
When there is Channel manager session the link is relative and when the is not channel manager status the link is absolute.
Attachments
Issue Links
- relates to
-
CMS-13296 Regression: CDN host used in preview Page Model API
- Closed
-
HSTTWO-4692 Internal links become external in preview in Page Model API
- Closed
- waits for
-
HSTTWO-4700 Preview Decoration of HST Model objects have unexpected behavior
- Closed
-
HSTTWO-4689 Change PageModelApi to generate fully qualified links to binaries
- Closed