[jboss-jira] [JBoss JIRA] Created: (JBRULES-1607) or with pattern binding doesn't work

Jaroslaw Kijanowski (JIRA) jira-events at lists.jboss.org
Fri May 16 08:43:22 EDT 2008


or with pattern binding doesn't work
------------------------------------

                 Key: JBRULES-1607
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1607
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Drl Parser/Builder
    Affects Versions: 4.0.7
            Reporter: Jaroslaw Kijanowski
         Assigned To: Mark Proctor


When I use

when
(or 
  p:Person( sex == "M", age > 60 )  
  p:Person( sex == "F", age > 65 )
) 
then
end

it works fine, but when I use

when
p:(or 
  Person( sex == "M", age > 60 )  
  Person( sex == "F", age > 65 )
)

it fails, however this should be allowed (at least it's in the docs, example 6.36).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list