[
http://jira.nuxeo.org/browse/NXP-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52189#action_52189
]
Anahide Tchertchian commented on NXP-3442:
------------------------------------------
added a method on document actions to retrieve list of allowed life cycle
states (unmodifiable collection is not suitable for UI)
http://hg.nuxeo.org/nuxeo/nuxeo-dm/rev/4f051ac8f73d
http://hg.nuxeo.org/nuxeo/nuxeo-features/rev/2998d0402d5c
> Lifecycle allowed state transitions shouldn't be mutable
> --------------------------------------------------------
>
> Key: NXP-3442
> URL: http://jira.nuxeo.org/browse/NXP-3442
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.2 M1
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Fix For: 5.2 GA
>
>
> CoreSession.getAllowedStateTransitions, through
> LifeCycleStateImpl.getAllowedStateTransitions, returns the mutable collection
> held by the lifecycle service.
> This shouldn't be a mutable collection, as future callers (among which
> LifeCycleServiceImpl.followTransition) would get a mutated value.
--
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