Details
-
Bug
-
Resolution: Fixed
-
Critical
-
3.5.4
-
None
-
None
Description
The system repository session is nor released when the user context is released. I did not yet apply the following patch as it has consequences where ever a node reference is kept. An obvious example is the user object which keeps a reference to the user's node.
Here is the needed patch:
Index: /Users/philipp/checkout/magnolia/magnolia-core/src/main/java/info/magnolia/context/SystemContextImpl.java
===================================================================
--- /Users/philipp/checkout/magnolia/magnolia-core/src/main/java/info/magnolia/context/SystemContextImpl.java (revision 14777)
+++ /Users/philipp/checkout/magnolia/magnolia-core/src/main/java/info/magnolia/context/SystemContextImpl.java (working copy)
@@ -87,6 +87,7 @@
}
public void release() {
+ super.release();
repositoryStrategyThreadLocal.set(null);
}
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
MAGNOLIA-2146 revert changes on SystemContext interface
-
- Closed
-
-
MAGNOLIA-1998 Potential memory leak: investigation.
-
- Closed
-