Bug 1019917

Summary: uploading bundle missing compliance attribute should have descriptive error message
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: ProvisioningAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1019919 (view as bug list) Environment:
Last Closed: 2014-04-23 12:31:21 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:
Bug Depends On:    
Bug Blocks: 1019919    

Description John Mazzitelli 2013-10-16 15:45:07 UTC
upload a new bundle distro file that is missing the compliance attribute in the deployment-unit element of the receipe.

make sure the error message is clear what's wrong.

Comment 1 John Mazzitelli 2013-10-16 17:59:21 UTC
The wizard shows this less-than-helpful message:

"[Distribution File] Failed to upload bundle distribution file
java.lang.Exception: Failed to parse the bundle Ant script."

The message center shows this message:

"[Distribution File] <strong>Failed to upload bundle distribution file</strong><br> java.lang.Exception: Failed to parse the bundle Ant script.<br>"

Comment 2 John Mazzitelli 2013-10-16 21:11:42 UTC
git commit to master : adef14a

Comment 3 Heiko W. Rupp 2013-10-17 08:58:30 UTC
While I still think the message could omit all that "technical" stuff (exception package names etc), this is now at least descriptive enough that users can understand why the upload failed.

Thanks

Comment 4 Heiko W. Rupp 2014-04-23 12:31:21 UTC
Bulk closing of 4.10 issues.

If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.