[jboss-jira] [JBoss JIRA] Created: (JBRULES-1149) Parser is only saving last CE for prefixed AND/OR

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Thu Aug 30 12:22:18 EDT 2007


Parser is only saving last CE for prefixed AND/OR 
--------------------------------------------------

                 Key: JBRULES-1149
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1149
             Project: JBoss Rules
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Drl Parser/Builder
    Affects Versions:  4.0.0.GA
            Reporter: Edson Tirelli
         Assigned To: Edson Tirelli


Reported by user:

Hi,

I have a problem with this execution :

rule "Your First Rule"

when
 (or
 not Venue()
 (and v:Venue()
       l:ListeSousVenue()
       p:Param()))
then
 System.out.println("OK - 1");
end

rule "Your Second Rule"

when
 (or
 not Venue()
 (and p:Param()
       l:ListeSousVenue()
       v:Venue()))
then
   System.out.println("OK - 2");
end

In my WM, I have a Param and a ListeSousVenue but no Venue
But after execution, I have just this result :
"OK - 1"

Why the second rule doesn't execute ?

Thanks,

Vdelbart


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