[ http://jira.nuxeo.org/browse/NXP-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florent Guillaume resolved NXP-3442. ------------------------------------ Resolution: Fixed Resolved using a Collections.unmodifiableCollection. http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/c6a0d8a7f526 > 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 ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets