[
https://jira.nuxeo.org/browse/NXP-5721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=82032#action_82032
]
Alexandre Russel commented on NXP-5721:
---------------------------------------
We have a use case in document routing. DocumentRoute and DocumentRouteStep are
Nuxeo document. We use their lifecycle step to show the state of the route. We
start the Route (ready running) then do the step one after the other so the
step goes from ready=>running=>done.
If the bulk listener is activated the when the route go to the running state =>
all the step inside does the same thing, we don't want this behaviour. But we
still want that a deleted folder get all its children deleted.
> make bulk lifecycle change optional
> -----------------------------------
>
> Key: NXP-5721
> URL: https://jira.nuxeo.org/browse/NXP-5721
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Reporter: Alexandre Russel
> Fix For: 5.4
>
>
> At the moment, either we have the BulkLifeCycleChangeListener and all
> lifecycle change recurse in folders, or we don't.
> We should be able to desactivate the recursion by passing context data in the
> doc before the lifecycle change:
> client code:
> doc.putContextData("NON_RECURSIVE_LIFECYCLE_KEY", true);
> doc.followTransition("mytrans")
> in BulkLifeCycleChangeListener, check for the data, and if explicitely true
> then return before recursing
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://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