Bug 810407 - The order of RHS statements shouldn't affect behavior (insertLogical)
Summary: The order of RHS statements shouldn't affect behavior (insertLogical)
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion)
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: BRMS 5.3.0.GA
Assignee: Nobody
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-05 22:19 UTC by Mark Proctor
Modified: 2021-04-09 12:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBRULES-1602 0 Major Closed The order of RHS statements shouldn't affect behavior (insertLogical) 2013-10-21 11:38:33 UTC

Description Mark Proctor 2012-04-05 22:19:35 UTC
If an activation is made false in a consequence before the logicalInsertion, the logical insertion should have no effect. Currently the logical insertion incorrectly gets attached to the Activation.

Comment 1 Mark Proctor 2012-04-05 22:20:30 UTC
cherry-picked into 5.3.x
mdproctor@M6400 /c/dev/drools54/drools (5.3.x|CHERRY-PICKING)
$ git commit
[5.3.x fbb6258] JBRULES-1602 The order of RHS statements shouldn't affect behavior (insertLogical) (cherry picked from c
ommit e002b0e0dc98dcaa9b69fb49b6640f8787d7ff24)
 8 files changed, 152 insertions(+), 15 deletions(-)
 create mode 100644 drools-compiler/src/test/java/org/drools/YoungestFather.java

mdproctor@M6400 /c/dev/drools54/drools (5.3.x)
$ git cherry-pick -x 12b38cb8f33adbca0eb17afc13a9b9d190dd9ebf
[5.3.x 43f76cd] JBRULES-1602 The order of RHS statements shouldn't affect behavior (insertLogical) (cherry picked from c
ommit 12b38cb8f33adbca0eb17afc13a9b9d190dd9ebf)
 2 files changed, 20 insertions(+), 0 deletions(-)

mdproctor@M6400 /c/dev/drools54/drools (5.3.x)
$ git cherry-pick -x 0127924e8720621172551e47cb362018df07b716
[5.3.x 0ff734e] JBRULES-1602 The order of RHS statements shouldn't affect behavior (insertLogical) (cherry picked from c
ommit 0127924e8720621172551e47cb362018df07b716)
 2 files changed, 20 insertions(+), 0 deletions(-)

mdproctor@M6400 /c/dev/drools54/drools (5.3.x)
$ git push
Counting objects: 95, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (46/46), done.
Writing objects: 100% (59/59), 8.38 KiB, done.
Total 59 (delta 34), reused 7 (delta 5)
To git:droolsjbpm/drools.git
   02700fe..0ff734e  5.3.x -> 5.3.x

Comment 2 JBoss JIRA Server 2012-04-05 22:23:45 UTC
Mark Proctor <mproctor> updated the status of jira JBRULES-1602 to Closed

Comment 3 Lukáš Petrovický 2012-05-17 13:42:18 UTC
This has both been reported and committed by Mark. VERIFIED


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