Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
14.1.0
-
None
-
None
-
0.5
-
Puma Sprint 227, Puma Sprint 228-SaaS BrX v0.2
Description
Currently, this option removes the context path from all the links, even external and resource ones. That produces invalid links and breaks SPA implementation in v14.1.
Next to it, this option does not take any effect in the preview (which is should for the Page Model API output). This causes the custom preview configuration on the SPA SDK side.
Requirements:
- resource API and binary links should be affected by the option hst:showcontextpath. If it is 'false', context path won't be in the links. If an end project doesn't want this, just don't use hst:showcontextpath = false on the page model api mount
- internal links have become relative to sitemap items in a different improvment so work correctly wrt contextpath
- the context path should be consistent for the Page Model API in both live and preview: either present in both or missing in both, depending on the hst:showcontextpath config
Attachments
Issue Links
- is a result of
-
HSTTWO-4692 Internal links become external in preview in Page Model API
- Closed
-
HSTTWO-4689 Change PageModelApi to generate fully qualified links to binaries
- Closed
-
HSTTWO-4701 URLs for Page Model API for 'resource' and 'external' type should always be fully qualified
- Closed
- is awaited by
-
CMS-12519 Implement new links behavior in the SPA SDK
- Closed