]
Edson Tirelli reassigned JBRULES-1639:
--------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
unable to evaluate expressions on string length in MVEL dialect
---------------------------------------------------------------
Key: JBRULES-1639
URL:
https://jira.jboss.org/jira/browse/JBRULES-1639
Project: JBoss Drools
Issue Type: Bug
Components: drools-compiler
Affects Versions: 4.0.6
Environment: os x, drools 4.0.7
Reporter: Alex McCarrier
Assignee: Edson Tirelli
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
This actually happens in 4.0.7 (not an option in versions field so I marked as 4.0.6).
If you have a rule like:
rule "whatever"
when
MyObj(stringField.length == "5")
then
.. do something ..
end
You end up with a compile exception complaining that length is not a valid property.
Same happens if you try to use eval() to work around it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: