[jboss-jira] [JBoss JIRA] Created: (JBRULES-1948) Using declared facts and functions doesn't work

Jaroslaw Kijanowski (JIRA) jira-events at lists.jboss.org
Thu Jan 29 06:51:44 EST 2009


Using declared facts and functions doesn't work
-----------------------------------------------

                 Key: JBRULES-1948
                 URL: https://jira.jboss.org/jira/browse/JBRULES-1948
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler
    Affects Versions: 5.0.0.M5
            Reporter: Jaroslaw Kijanowski
            Assignee: Mark Proctor


I have the following package:

package pp

declare Address
street: String
end

rule 'r1'
dialect 'mvel'
when
Address()
then
end

I add an Address fact and one rule fires. Cool.

Now I add a simple function to my package:

function void myFunction() {
}

I run the test again and the rule r1 doesn't fire.
Test case is attached.

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