[
http://jira.magnolia.info/browse/MAGNOLIA-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16020#action_16020
]
Philipp Bracher commented on MAGNOLIA-2099:
-------------------------------------------
We should not call super.release() as we only want to close the jcr session but
not releasing the access manager
> 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.6
>
>
> 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:
> {code}
> 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);
> }
> {code}
>
--
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/
----------------------------------------------------------------