[
https://issues.jboss.org/browse/DROOLS-702?page=com.atlassian.jira.plugin...
]
Yacine Jaber commented on DROOLS-702:
-------------------------------------
I think the first one(from) is more secure. Cause "==" depends on hash &
equals. It could change the behavior if these methods are extended.
Thank you for your help. I close this issue.
Rule Inheritance fired the sub rule even the condition doen't
match
-------------------------------------------------------------------
Key: DROOLS-702
URL:
https://issues.jboss.org/browse/DROOLS-702
Project: Drools
Issue Type: Bug
Affects Versions: 6.1.0.Final
Environment: Windows, Java6.0.29
Reporter: Yacine Jaber
Assignee: Davide Sottara
Priority: Critical
Attachments: wod-drools-test.7z
You can find the attached a simple maven project that shows this error.
You can run ExampleDrools class as main java application.
The sub rules are fired even if the condition is not matched.
There are a work arround by using <from $fact> into a sub rule to avoid firing this
one.
This simple project shows the failed and work arround test.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)