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