Bug 611411 - Bundle creation via upload invalid bundle distribution file didn't display error message and failure reason
Summary: Bundle creation via upload invalid bundle distribution file didn't display er...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Provisioning
Version: 3.0.0
Hardware: All
OS: Linux
urgent
medium
Target Milestone: ---
: ---
Assignee: Jay Shaughnessy
QA Contact: Sunil Kondkar
URL:
Whiteboard:
Depends On:
Blocks: rhq_triage jon24-provisioning
TreeView+ depends on / blocked
 
Reported: 2010-07-05 07:30 UTC by Rajan Timaniya
Modified: 2010-08-12 16:45 UTC (History)
1 user (show)

Fixed In Version: 2.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-12 16:45:44 UTC
Embargoed:


Attachments (Terms of Use)
screenshot (43.16 KB, image/png)
2010-07-05 07:30 UTC, Rajan Timaniya
no flags Details
Screenshot-error icon (49.41 KB, image/png)
2010-07-08 10:54 UTC, Sunil Kondkar
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.