[jboss-jira] [JBoss JIRA] Created: (JBRULES-2111) In-Pattern RestrictionConnectiveDescrs (&& and ||) do not support bindings and restrictions at the same time

Davide Sottara (JIRA) jira-events at lists.jboss.org
Thu Jun 4 10:49:57 EDT 2009


In-Pattern RestrictionConnectiveDescrs (&& and ||) do not support bindings and restrictions at the same time
------------------------------------------------------------------------------------------------------------

                 Key: JBRULES-2111
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2111
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler
    Affects Versions: 5.0.1.FINAL, 5.0.0.FINAL, 5.0.0.CR1, 5.0.0.M5,  5.0.0.M4, 5.0.0.M3,  5.0.0.M2, 5.0.0.M1
         Environment: any
            Reporter: Davide Sottara
            Assignee: Mark Proctor
            Priority: Critical
             Fix For: FUTURE


when trying to use connectives with restrictions and bindings, as in :
       Type( $f1: field1 op1 expr1 && $f2 : field2 op2 expr2)
the fieldRestrictions are ignored by the parser and only the bindings are retained.
Thus, reading the values of $f1 or $f2 returns the right value, but the restrictions
(field op expr) are not generated

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

        



More information about the jboss-jira mailing list