[jboss-jira] [JBoss JIRA] Created: (JBRULES-2860) DSL: Adding constraints ("-") to facts with parens doesn't work correctly

Michael Whidden (JIRA) jira-events at lists.jboss.org
Fri Dec 31 16:51:17 EST 2010


DSL: Adding constraints ("-") to facts with parens doesn't work correctly
-------------------------------------------------------------------------

                 Key: JBRULES-2860
                 URL: https://issues.jboss.org/browse/JBRULES-2860
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler-DSL
    Affects Versions: 5.1.1.FINAL
         Environment: Windows XP, Java 6
            Reporter: Michael Whidden
            Assignee: Mark Proctor


With the following DSL:
  [when][]Test=Test((t==a || t==b) && c==d)
  [when][]-test2 = e==f

the 'when':
       Test
        -test2

becomes:
   Test( (t==a || t==b, e==f ) && c==d)
instead of
   Test ((t==a || t==b) && c==d, e==f)


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