optimize publication status retrieve on documents
-------------------------------------------------
Key: NXP-8213
URL: https://jira.nuxeo.com/browse/NXP-8213
Project: Nuxeo Enterprise Platform
Issue Type: Improvement
Affects Versions: 5.4.2
Reporter: Stéphane Lacoin
Fix For: 5.6
In
{{org.nuxeo.ecm.platform.publisher.task.CoreProxyWithWorkflowFactory#isPublished}}
we're scanning for tasks but in the other hand, in
{{org.nuxeo.ecm.platform.publisher.task.CoreProxyWithWorkflowFactory.isPublishedDocWaitingForPublication}}
we're checking for the {{ACL}} existence.
We should use the same logic in both methods. It seem that the {{ACL}} check is
better optimized.
A special thank for {{Marc Berhaut}} from {{AC rennes}} for reporting this
problem.
--
This message is automatically generated by JIRA.
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