Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.0
-
None
-
Tomcat 7.0.6, 7.0.42, 7.0.59, 6.0.37
-
-
Empty show more show less
-
Kromeriz 88
-
3
Description
During tomcat forward to error page there exists two different instances of AggregationState and WebContext components.
1.) MgnlContext.getAggregationState()
The ContextFilter creates a new AggregationState when creating an new WebContext.
2.) Components.getComponent(AggregationState.class)
IoC (LocalScope) holds an instance of AggregationState in the request which is the old state before forwarding.
E.g. MultiSiteFilter (per WebContext) and MultiSiteURI2RepositoryManager (per IoC) gets different instances of AggregationState.
Additional the old aggregation state in IoC may hold old nodes (e.g. state.getMainContentNode()) which have an already closed jcr session.
Checklists
Attachments
Issue Links
- is causing
-
MAGNOLIA-6012 Ensure a page defined in 404-section of web.xml gets the channel
-
- Closed
-
- is depended upon by
-
MGNLEE-483 Integration tests for error pages
-
- Closed
-
- is duplicated by
-
MGNLPN-359 NPE at PersonalizedNodeRenderingListener
-
- Closed
-
- relates to
-
MGNLPN-359 NPE at PersonalizedNodeRenderingListener
-
- Closed
-
- mentioned in
-
Page Loading...