[jboss-jira] [JBoss JIRA] (DROOLS-519) Accumulate CollectList does not preserve the insertion order
Davide Sottara (JIRA)
issues at jboss.org
Sun Jun 8 11:10:15 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974429#comment-12974429 ]
Davide Sottara commented on DROOLS-519:
---------------------------------------
(This report is intended to address future inquiries on the topic)
> Accumulate CollectList does not preserve the insertion order
> ------------------------------------------------------------
>
> Key: DROOLS-519
> URL: https://issues.jboss.org/browse/DROOLS-519
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.1.0.Beta4
> Reporter: Davide Sottara
> Assignee: Davide Sottara
> Priority: Critical
>
> In 5.x, acc / collectList preserves the order of insertion.
> That is, if A1, A2 and A3 are inserted, a collectList will return 1,2,3
> In 6.x, the order is reversed. That is, in the same scenario, a list
> with 3,2,1 is generated.
> While arguably a minor issue, collectList returns a list, that is an ordered
> collection. The reversal of the order breaks the compatibility of preexising
> applications (such as drools-mas)
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list