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

Kris Verlaenen (JIRA) jira-events at lists.jboss.org
Thu Apr 21 17:39:18 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kris Verlaenen resolved JBRULES-1791.
-------------------------------------

    Fix Version/s: 5.2.0.M2
                       (was: 5.2.0.M1)
       Resolution: Done


This works fine in 5.2.0.M2

> Parenthesis required for 'exist' rule in Split constraint editor
> ----------------------------------------------------------------
>
>                 Key: JBRULES-1791
>                 URL: https://issues.jboss.org/browse/JBRULES-1791
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core (flow)
>    Affects Versions: 4.0.7
>         Environment: Fedora 5, tomcat 6, drools 4.0.7
>            Reporter: Roger Lefebvre
>            Assignee: Edson Tirelli
>            Priority: Minor
>             Fix For: 5.2.0.M2
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list