[jboss-jira] [JBoss JIRA] Created: (JBRULES-2939) support complex expression in left hand side of constraint

Radai Rosenblatt (JIRA) jira-events at lists.jboss.org
Tue Apr 5 08:52:33 EDT 2011


support complex expression in left hand side of constraint
----------------------------------------------------------

                 Key: JBRULES-2939
                 URL: https://issues.jboss.org/browse/JBRULES-2939
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-compiler (expert)
    Affects Versions: 5.1.1.FINAL
            Reporter: Radai Rosenblatt
            Assignee: Mark Proctor


currently drools does not support the following syntax:
...
Number($var8 : longValue , ((longValue) * (1.5)) < $var7) from ...
...
(results in "no viable alternative at input ')' in...")

however, this works fine if the condition is re-written like this: "longValue < (($var7)/1.5)"

it would be nice if drools knew how to cope with the condition in its original form as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list