Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
Originally, the HstRequestContext was primarily targeted to be used during request processing (the pipelines & valves), and not so much during the matching phase. However, for example the HstSiteMapItemHandler kicks in before the initialization valve, and thus has a not yet fully initialized HstRequestContext at that point. A simple call like RequestContextProvider.get().getContentBean() then results in errors, which is very inconvenient. For example HSTTWO-2736 is an issue resulting from this
Attachments
Issue Links
- includes
-
HSTTWO-2736 make sure contentBeansTool is available on HstRequestContext during sitemap item handlers
- Closed