Details
-
Bug
-
Resolution: Done
-
Major
-
5.4.0.Final
-
None
Description
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 :
]
^ : [Rule name='LowerCaseFrom']
Error importing : 'com.sample.DroolsTest.Message'