[jboss-jira] [JBoss JIRA] (JBRULES-3533) Unable to Analyse Expression strict mode exception
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Fri Jun 8 12:45:18 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved JBRULES-3533.
----------------------------------
Fix Version/s: 5.5.0.Beta1
(was: 5.4.0.Final)
Resolution: Done
Fixed by: https://github.com/droolsjbpm/drools/commit/8e010fb2f51b40f0754a5ce5f7be4d6a72776f5a
> Unable to Analyse Expression strict mode exception
> --------------------------------------------------
>
> Key: JBRULES-3533
> URL: https://issues.jboss.org/browse/JBRULES-3533
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-compiler, drools-compiler (expert)
> Affects Versions: 5.4.0.Final
> Environment: Windows. java 6
> Reporter: Joe Re
> Assignee: Mario Fusco
> Fix For: 5.5.0.Beta1
>
>
> A rule with this type of expression functions correctly in 5.0 but fails in 5.4. Pull request to follow
> Map($valOne : this['keyOne'] !=null)
> $lowerValue : String() from $valOne.toLowerCase()
> Results in:
> Unable to Analyse Expression $valOne.toLowerCase():
> [Error: unable to resolve method using strict-mode: java.lang.Object.toLowerCase()]
> [Near : {... $valOne.toLowerCase() ....}]
> ^ : [Rule name='LowerCaseFrom']
> Error importing : 'com.sample.DroolsTest.Message'
--
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