Bug 611411

Summary: Bundle creation via upload invalid bundle distribution file didn't display error message and failure reason
Product: [Other] RHQ Project Reporter: Rajan Timaniya <rtimaniy>
Component: ProvisioningAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Sunil Kondkar <skondkar>
Severity: medium Docs Contact:
Priority: urgent    
Version: 3.0.0CC: jshaughn
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:45:44 UTC Type: ---
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: 565628, 577210    
Attachments:
Description Flags
screenshot
none
Screenshot-error icon none

Description Rajan Timaniya 2010-07-05 07:30:14 UTC
Created attachment 429478 [details]
screenshot

Description of problem:
Bundle creation via upload invalid bundle distribution file didn't display error message and failure reason. The screen has only error icon.

Version-Release number of selected component (if applicable):
JON 2.4 GA_QA (tag-jon-release build# 49)
Revision: 10771


How reproducible:
Always

Steps to Reproduce:
1. Go to Administration->Content->Bundles
2. Click on button 'New'.
3. Select the radio button 'Upload'.
4. Click on the 'Browse' button.
5. Browse and select the archive file.
6. Click on Next button and proceed for bundle creation.
  
Actual results:
Bundle creation via upload invalid bundle distribution file didn't display error message and failure reason. The screen has only error icon.

Expected results:
UI should display proper error message and failure reason.

Additional info:
Please refer screenshot.

Comment 1 Rajan Timaniya 2010-07-05 09:04:42 UTC
Same issue find when user select the radio button 'Upload' and without provide any file click on 'Next' button.

Expected results:
UI should display proper error message and failure reason.

Comment 2 Jay Shaughnessy 2010-07-07 19:53:02 UTC
fix commit: 91c9d1fb7849b9966f60a2cdeb8bca1903e3389c

There is a new messaging and is displayed within the wizard.

Comment 3 Sunil Kondkar 2010-07-08 10:53:40 UTC
Verified on jon-2.4.0.GA_QA build#52

When user tries to upload invalid bundle distribution file, the bundle wizard box displays the message with reason as expected (Failed to upload bundle distribution file
java.lang.IllegalArgumentException: Invalid bundle distribution file. BundleType/Recipe not recognized by any deployed server bundle plugin.)

However, when user selects the radio button 'Upload' and clicks on the 'Next' button without providing any file, no error message is displayed in wizard and in 'Messages' drop down. The screen displays a red colored error icon in the wizard.
Plesae refer the screenshot attached.

Comment 4 Sunil Kondkar 2010-07-08 10:54:46 UTC
Created attachment 430300 [details]
Screenshot-error icon

Comment 5 Jay Shaughnessy 2010-07-08 14:59:22 UTC
Fix commit: 54f92b5688e0922d6c3e00af7a410cdbe8e54650

handle the new problem scenario

Comment 6 Sunil Kondkar 2010-07-09 08:38:50 UTC
Verified on latest jon 2.4.0.GA_QA build#53

When user selects the radio button 'Upload' and clicks on the 'Next'
button without providing any file, an error message "Please select a bundle distribution file to upload" is displayed.

Comment 7 Corey Welton 2010-08-12 16:45:44 UTC
Mass-closure of verified bugs against JON.