Bug 801341

Summary: Select Working Sets > Save and close throws exception if no working set is selected
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: Mark Proctor <mproctor>
Status: VERIFIED --- QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: lpetrovi, mproctor
Target Milestone: ER6Keywords: Regression
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously when selecting a working set for an asset, if no working set was selecting pressing the save and close button caused a RuntimeException to occur. This has been resolved. If no working set is selected the select working set dialog box closes and normal use of the interface can continue uninterrupted.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
server.log none

Description Jiri Locker 2012-03-08 10:40:16 UTC
Created attachment 568574 [details]
server.log

Description of problem:
When there is no working set left in the "Selected" column, finishing the dialog with "Save and close" button causes a RuntimeException at org.drools.verifier.builder.VerifierImpl. The exception is logged only, no error is displayed in Guvnor.

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

How reproducible:
always

Steps to Reproduce:
1. open any business rule in guided editor
2. open Edit > Select Working Sets dialog
3. if any working sets are selected, remove them all so that the "Selected" column is empty
4. click Save and close
  
Actual results:
exception in server log, see attachment

Expected results:
no exception expected

Additional info:
see attached log

Comment 1 Ryan Zhang 2012-04-23 07:40:15 UTC
Update status to ON_QA. Please verify them against ER6.

Comment 3 Jiri Locker 2012-05-04 15:46:53 UTC
Fix verified in ER6.

Comment 4 lcarlon 2012-06-04 02:28:17 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:
Previously when selecting a working set for an asset, if no working set was selecting pressing the save and close button caused a RuntimeException to occur. This has been resolved. If no working set is selected the select working set dialog box closes and normal use of the interface can continue uninterrupted.