org.nuxeo.ecm.platform.ui.web.directory.DirectoryHelper holds onto an invalid
reference of the DirectoryService after a undeploy/reddeploy
------------------------------------------------------------------------------------------------------------------------------------------
Key: NXP-2917
URL: http://jira.nuxeo.org/browse/NXP-2917
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Directory
Affects Versions: 5.2 M3
Reporter: Aaron Walker
Assignee: Thierry Delprat
Currently the DirectoryHelper is a singleton that caches a reference to the
DirectoryService but if you run a unit test that undeploys and redeploys
between tests the reference to the DirectoryService in the DirectoryHelper is
invalid since it has been unregistered.
What is the cost of looking up the DirectoryService each time in the
DIrectoryHelper rather than cache the DirectoryService instance?
I'm only really hitting this issue in my testcases as I'm not hot-deploying my
plugins
--
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