[
https://issues.jboss.org/browse/JBRULES-3241?page=com.atlassian.jira.plug...
]
Edson Tirelli resolved JBRULES-3241.
------------------------------------
Resolution: Done
I tested all scenarios and added test cases to the code base. The only remaining problems
are on Generics support and on Inner class name resolution, both of them are MVEL issues
for which we sent test cases. As soon as they are fixed and released, they will work in
Drools by updating the MVEL jar.
I am closing the ticket.
Behavior of data in maps is broken/erratic
------------------------------------------
Key: JBRULES-3241
URL:
https://issues.jboss.org/browse/JBRULES-3241
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler, drools-core
Affects Versions: 5.2.0.Final, 5.3.0.CR1
Environment: Ubuntu 4.4.3-4ubuntu5 64 bit
openjdk jvm
Tested on 5.2.Final and 5.4.nightlybuild on hudson
Reporter: Zachary St Lawrence
Assignee: Edson Tirelli
Priority: Critical
Labels: Map, TypeError
Fix For: 5.4.0.Beta1
Attachments: Drools5.4.zip
Map accessors have been improved in 5.4 but there are still at least a half dozen cases
that are broken. They were basically unusable in 5.2.
Create a Map<KeyEnum, ValueEnum> on an object and try to access it.
In 5.2 you can not access directly via the map object.
In 5.4 you can access if KeyEnum was an externally defined enum but inner static KeyEnum
will cause errors.
Created a simple project (extension of hello world Message example to demonstrate. Note
that each issue I found caused the rules file to not compile so I commented out all the
error lines but as they are fixed they could be commented back in to test regressions.
I will try to attach files after creating this issue but if I find I do not have
sufficient JIRA permissions to add the files I will add the text as comments.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira