[jboss-jira] [JBoss JIRA] (JBRULES-3241) Behavior of data in maps is broken/erratic
Edson Tirelli (Updated) (JIRA)
jira-events at lists.jboss.org
Tue Oct 11 17:25:16 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli updated JBRULES-3241:
-----------------------------------
Fix Version/s: 5.4.0.Beta1
Priority: Critical (was: Major)
Affects Version/s: (was: 5.4.0.Beta1)
Component/s: drools-compiler
drools-core
(was: drools-compiler (expert))
Forum Reference: http://drools.46999.n3.nabble.com/Map-errors-and-quirks-td3404106.html (was: http://drools.46999.n3.nabble.com/Map-errors-and-quirks-td3404106.html)
> 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
More information about the jboss-jira
mailing list