Bug 1038044

Summary: Guided rule editor validate-button shows an uncontrolled error screen if the kmodule.xml has errors
Product: [Retired] JBoss BRMS Platform 6 Reporter: Toni Rikkola <trikkola>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: etirelli, mbaluch
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:16:56 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:
Attachments:
Description Flags
Screenshot of the error screen none

Description Toni Rikkola 2013-12-04 10:22:24 UTC
Created attachment 832547 [details]
Screenshot of the error screen

Description of problem:
When ever we build or validate the errors should be reported in a controlled manner with the Problems-panel or with a dedicated popup. 
If I add an "included knowledge base" that does not exist into the kmodule.xml and try to validate any file using the Validate-button that can be found from Guided Rule Editor for example. I get the "error in the bus" popup. This means we are not catching the exception while validating and the exception gets thrown to the user, giving the feeling that there is a bug in the workbench, rather than in the codes that the user is editing. 


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


How reproducible:
Everytime

Steps to Reproduce:
1. Use mortgages example
2. Add a knowledge base and a non-existing "included knowledge base"
3. Open any guided rule and click Validate

Actual results:
Ugly error screen.

Expected results:
Either build failed in the problem-panel or in the Validate-popup explaining what caused the failure. 

Additional info:

Comment 4 Marek Baluch 2014-01-10 12:25:18 UTC
Verified on ER7.