[jboss-jira] [JBoss JIRA] (JBRULES-3241) Behavior of data in maps is broken/erratic
Edson Tirelli (Commented) (JIRA)
jira-events at lists.jboss.org
Thu Oct 13 16:36:17 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634699#comment-12634699 ]
Edson Tirelli commented on JBRULES-3241:
----------------------------------------
Working on this. Just did a commit with some fixes and opened an MVEL pull request for a couple more fixes.
https://github.com/mvel/mvel/pull/28
> 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