Ensure that Seam enable restlets close temporary CoreSession instances they
create
----------------------------------------------------------------------------------
Key: NXP-3185
URL: http://jira.nuxeo.org/browse/NXP-3185
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Web Foundations
Affects Versions: 5.2 M4, 5.1.6
Reporter: Olivier Grisel
Assignee: Thierry Delprat
Fix For: 5.1.7, 5.2
Most restlet implementations provided by default assume that they are run in a
given conversation context that might allow them to reuse documentManager. If
documentManager is not available, the create it and don't bother to close the
session afterward.
Instead they should:
- try to reuse any documentManager instance available from the context if it
matches the requested repo
- if not, create a temporary CoreSession instance independantly of the Seam
stateful contexts and take care to close it in a finally block as usual
--
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
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets