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.
Added pull request with test case: https://github.com/droolsjbpm/drools/pull/85
Fixed and merged into 5.3.x branch. Thanks for the test it made fixing simple :)
Please verify the issue on 5.3 ER4.
Verified in 5.3 ER4.
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.
Hi Mike, Please let me know how this was resolved and I'll add the information to the release notes. Thanks Lee
Hi Lee, Class DefaultRulesheetListener was incorrectly using the value of "lock on active" for "auto focus" attributes. This has been rectified. Cheers, Mike
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.