Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1149

Parser is only saving last CE for prefixed AND/OR

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.GA
    • Fix Version/s: 4.0.1
    • Component/s: drools-compiler
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tirelli Edson Tirelli
                Reporter:
                tirelli Edson Tirelli
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: