[jboss-jira] [JBoss JIRA] Created: (JBRULES-2222) Rule silently discarded if RHS calls an undefined DRL function

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Thu Jul 30 12:41:29 EDT 2009


Rule silently discarded if RHS calls an undefined DRL function
--------------------------------------------------------------

                 Key: JBRULES-2222
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2222
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler
    Affects Versions: 5.0.1.FINAL
            Reporter: Wolfgang Laun
            Assignee: Mark Proctor


If a function bar is called on a RHS of a rule in the same .drl file without being defined in the same .drl file, the .drl is compiled without kBuilder.getErrors() returning an error, and the rule is silently discarded (not firing, although it should). - Note that this error occurred when there was a function bar defined in another .drl file of the same package. 

Eclipse does indicate an error.


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