Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
13.2.1
-
None
-
Flagged
Description
calling rest service within channel manager like:
http://localhost:8080/site/_cmsinternal/api-manual/EventsDocument
<@hst.link var="myLink" path="api-manual/EventsDocument/" /> <script> const url = '${myLink}'; const request = async () => { const response = await fetch(url); const json = await response.json(); console.log(json); } request(); </script>
Throws NPE at org.hippoecm.hst.container.HstDelegateeFilterBean#finishMatchingPhase
if (mount.isExplicit() && mount.getHstSite().getChannel() != null && (resolvedSiteMapItem == null || !resolvedSiteMapItem.getHstSiteMapItem().isContainerResource())) {
There should be a check if mount.getHstSite() !=null