[jboss-jira] [JBoss JIRA] Created: (JBRULES-1791) Parenthesis required for 'exist' rule in Split constraint editor

Roger Lefebvre (JIRA) jira-events at lists.jboss.org
Thu Oct 2 14:20:20 EDT 2008


Parenthesis required for 'exist' rule in Split constraint editor
----------------------------------------------------------------

                 Key: JBRULES-1791
                 URL: https://jira.jboss.org/jira/browse/JBRULES-1791
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Rule Flow
    Affects Versions: 4.0.7
         Environment: Fedora 5, tomcat 6, drools 4.0.7
            Reporter: Roger Lefebvre
            Assignee: Mark Proctor
            Priority: Minor


A rule such as:

        exists Item()

throws InvalidRulePackage "Unexpected token exists ..." when doing performing ruleBase.addPackage(builder.getPackage()).
Adding parenthesis resolves the problem.
e.g.

        exists (Item())

Similar applies to not and other qualifiers/functions. 


-- 
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