Joe Re created JBRULES-3533:
-------------------------------
Summary: 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: Mark Proctor
Fix For: 5.4.0.Final
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