Bug 1038076
Summary: | Rule should not be fired again after unblock, if it is fired before block | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Tomas David <tdavid> | ||||
Component: | BRE | Assignee: | Mario Fusco <mfusco> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas David <tdavid> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.0.0 | CC: | etirelli, mfusco, mwinkler, rzhang | ||||
Target Milestone: | ER 7 | ||||||
Target Release: | 6.0.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-08-06 20:18:47 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Verified on BRMS 6.0.0.ER7. Mario Fusco <mario.fusco> updated the status of jira DROOLS-378 to Resolved |
Created attachment 832581 [details] Reproducer test Description of problem: The rule is fired before block (context.blockMatch()) and after unblock is fired again, but the rule should be fired only once. Version-Release number of selected component (if applicable): Drools 6.0.0-SNAPSHOT Drools 6.0.0.ER5 How reproducible: Attachment test. Steps to Reproduce: 1. Make a drl file with three rules. First rule has the highest salience and it set focus on specific agenda group. Second rule is in the agenda group and it has metadata @department('sales'). The last rule block rules with (department == sales). 2. Make a test where all LHS conditions of rules are met. 3. Run test. Actual results: Rule is fired again. Expected results: Rule is not fired again. Additional info: