Bug 744779

Summary: auto-focus replaced by lock-on-active in decision table
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Svitak <jsvitak>
Component: BRE (Expert, Fusion)Assignee: manstis
Status: CLOSED UPSTREAM QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: unspecified    
Version: BRMS 5.2.0.GACC: mbaluch, mproctor
Target Milestone: ---   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The lock-on-active keyword replaced the auto-focus keyword in decision tables under certain circumstances. This was caused by the DefaultRulesheetListener class incorrectly using the value of "lock on active" for "auto focus" attributes and has been rectified.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:14:18 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:
Description Flags
Class to reproduce bug none

Description Jiri Svitak 2011-10-10 12:49:34 UTC
Created attachment 527236 [details]
Class to reproduce bug

Description of problem:
In certain situations is auto-focus keyword replaced by lock-on-active.

Version-Release number of selected component (if applicable):
BRMS 5.2.0 ER5

How reproducible:
Run attached test case.

Steps to Reproduce:
1. Unzip attached file.
2. Run as Java app.

Comment 2 Jiri Svitak 2012-01-25 12:56:34 UTC
Added pull request with test case:
https://github.com/droolsjbpm/drools/pull/85

Comment 3 manstis 2012-01-25 16:05:04 UTC
Fixed and merged into 5.3.x branch. Thanks for the test it made fixing simple :)

Comment 4 Ryan Zhang 2012-02-15 09:12:45 UTC
Please verify the issue on 5.3 ER4.

Comment 5 Jiri Svitak 2012-02-21 10:04:01 UTC
Verified in 5.3 ER4.

Comment 7 lcarlon 2012-06-04 00:28:08 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The lock-on-active keyword replaced the auto-focus keyword in decision tables under certain circumstances.

Comment 8 lcarlon 2012-06-04 00:28:54 UTC
Hi Mike, 

Please let me know how this was resolved and I'll add the information to the release notes.

Thanks
Lee

Comment 9 manstis 2012-06-06 08:01:11 UTC
Hi Lee,

Class DefaultRulesheetListener was incorrectly using the value of "lock on active" for "auto focus" attributes. This has been rectified.

Cheers,

Mike

Comment 10 lcarlon 2012-06-07 00:30:52 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-The lock-on-active keyword replaced the auto-focus keyword in decision tables under certain circumstances.+The lock-on-active keyword replaced the auto-focus keyword in decision tables under certain circumstances. This was caused by the DefaultRulesheetListener class incorrectly using the value of "lock on active" for "auto focus" attributes and has been rectified.

Comment 13 Red Hat Bugzilla 2025-02-10 03:14:18 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.