Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
Pulsar
-
Platform 197 - Workshop+
Description
Since version 13.0.0, CMS wicket code can get hold of the HstRequestContext, simply by
final HstRequestContext requestContext = RequestContextProvider.get();
If however in CMS Wicket code then the JCR Session is requested from the request context, via
final HstRequestContext requestContext = RequestContextProvider.get();
requestContext.getSession();
then the CMS JCR Session should be returned. However, currently, when this is invoked, the HST will return a pooled live user session since the HstRequestContext did not yet have an associated JCR Session. This is likely to result in problems. In Wicket code, the JCR Session from the wicket code should be returned.
Attachments
Issue Links
- causes
-
CMS-11629 Sometimes many stacktraces are logged during clicking through CMS or Console
- Closed
- relates to
-
HSTTWO-4370 Move channel filtering solution to platform webapp
- Closed