Bug 862325 - Fact modification improperly cancels activations
Summary: Fact modification improperly cancels activations
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion)
Version: BRMS 5.3.0.GA
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ER4
: BRMS 5.3.1 GA
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-02 16:04 UTC by Edson Tirelli
Modified: 2025-02-10 03:20 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:20:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Edson Tirelli 2012-10-02 16:04:15 UTC
Description of problem:
If the first rule to fire in a session modifies a fact, the engine improperly cancels pending activations depending on that fact.

Version-Release number of selected component (if applicable):
5.3.0

How reproducible:
A test case where the first rule to fire modifies a fact that previously activated other rules.

Actual results:
Activations improperly cancelled

Expected results:
Activations are not cancelled and fire properly.

Additional info:
This was raised by a partner. The actual details/rules are confidential and shared under NDA. I am opening this ticket for the partner.

Comment 1 Edson Tirelli 2012-10-02 16:05:41 UTC
This bug occurs only in a very specific scenario, but it is very critical as it silently fails causing the engine to produce wrong results.

Comment 2 Edson Tirelli 2012-10-16 00:19:41 UTC
Fix backported to 5.3.x.

Comment 3 Edson Tirelli 2012-10-31 15:55:58 UTC
The test case to reproduce and verify this problem is committed here:

https://github.com/droolsjbpm/drools/commit/e80ed64d621ec5d4671147cc400e857e652578a7

Please note that the scenario is very specific, so even changing the order of the updates on the consequence will prevent the bug from showing up.

Comment 4 Douglas Hoffman 2012-11-06 00:58:40 UTC
I have updated the Doc Text for documentation Release Notes.
Thank you for the information.

- Doug

Comment 5 Marek Winkler 2012-11-12 11:26:42 UTC
Verified on 5.3.1.BRMS-ER4.

Comment 11 Red Hat Bugzilla 2025-02-10 03:20:53 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.