[
https://jira.jboss.org/browse/JBRULES-1791?page=com.atlassian.jira.plugin...
]
Mark Proctor updated JBRULES-1791:
----------------------------------
Fix Version/s: 5.2.0.M1
(was: 4.0.8)
These issues where all marked for 4.0.8, we no longer maintain the 4.0.x branch in the
community. I'm moving them to 5.2.0.M2, so they can be checked that they no longer
cause a problem there, and fixed if they do. If you require these fixed at the 4.0.x
branch level, then please contact sales(a)jboss.com for subscription based support.
Parenthesis required for 'exist' rule in Split constraint
editor
----------------------------------------------------------------
Key: JBRULES-1791
URL:
https://jira.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.M1
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/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira