]
Mario Fusco resolved JBRULES-3494.
----------------------------------
Fix Version/s: 5.4.0.Final
Resolution: Done
Accumulate with vars having a different order than the one imposed by
Declaration's hashCode causes a ClassCastException
------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-3494
URL:
https://issues.jboss.org/browse/JBRULES-3494
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
Fix For: 5.4.0.Final
Running the following drl causes a ClassCastException:
import java.util.List
declare MessageHolder
id : String
msg: String
end
query getResults( String $mId, List $holders )
accumulate(
$holder : MessageHolder( id == $mId, $ans : msg ),
$holders : collectList( $holder )
)
end
rule "Init"
when
then
insert( new MessageHolder( "1", "x" ) );
end
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: