[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-1639) unable to evaluate expressions on string length in MVEL dialect
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Tue Oct 7 08:54:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JBRULES-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list