context: system jcr sessions are not released after a request
-------------------------------------------------------------

                 Key: MAGNOLIA-2099
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2099
             Project: Magnolia
          Issue Type: Bug
    Affects Versions: 3.5.4
            Reporter: Philipp Bracher
            Assignee: Boris Kraft
            Priority: Critical
             Fix For: 3.5.5


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);
     }
 
 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to