[jboss-jira] [JBoss JIRA] Commented: (JBRULES-318) eval() not re-evaluated when objects were modified

Edson Tirelli (JIRA) jira-events at jboss.com
Wed Jul 12 19:34:11 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBRULES-318?page=comments#action_12339476 ] 
            
Edson Tirelli commented on JBRULES-318:
---------------------------------------

Commited to 3.0.x branch in revision 5060.

$ svn commit drools-core/src/main/java/org/drools/reteoo/JoinNode.java drools-compiler/src/test/java/org/drools/integrationtests/
IntegrationCases.java drools-compiler/src/test/resources/org/drools/integrationtests/test_JoinNodeModifyObject.drl
Sending        drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java
Sending        drools-compiler/src/test/resources/org/drools/integrationtests/test_JoinNodeModifyObject.drl
Sending        drools-core/src/main/java/org/drools/reteoo/JoinNode.java
Transmitting file data ...
Committed revision 5060.


> eval() not re-evaluated when objects were modified
> --------------------------------------------------
>
>                 Key: JBRULES-318
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-318
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.1
>         Environment: JBossRules 3.0.1
> Eclipse 3.2 rc7
> JDK 5
>            Reporter: Jean-Pierre GRILLON
>         Assigned To: Edson Tirelli
>             Fix For: 3.0.3
>
>         Attachments: Drools-eval.zip
>
>
> I face a problem (bug?): I have a condition using ?eval? which doesn?t seem to be reevaluated when objects are modified.
> The class NumberTest wraps a number (field nb) and the index (field index).
> The rule gets 2 NumberTest, the first number is greater than the second one ; and the eval condition should test that the first index is less than the second. But the rule is fired even if this condition is not fulfilled (see the check function).

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

        



More information about the jboss-jira mailing list