[ 
http://jira.nuxeo.org/browse/NXP-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53023#action_53023
 ] 

Florent Guillaume commented on NXP-3529:
----------------------------------------

First pass, adding DocumentModel.getCoreSession():
http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/2e69bb4cc348
http://hg.nuxeo.org/nuxeo/nuxeo-dm/rev/1c7e172265b5


> Cleanup abuse of unclosed sessions
> ----------------------------------
>
>                 Key: NXP-3529
>                 URL: http://jira.nuxeo.org/browse/NXP-3529
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 5.2 M1
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.2 GA
>
>
> Many places in the code do a Repository.open() and forget to close the 
> session.
> The means that DocumentManagerBeans are leaked, something we have no way to 
> detect in code.
> In order to combat that, we should promote the use of the existing session, 
> by adding a DocumentModel.getCoreSession() method, and making use of 
> UnrestrictedSessionRunner otherwise.

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

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to