Bug 616261 - Bundle Creation Wizard: Error icon for Upload does not disappear, breaks, when switching to URL/Recipe
Bundle Creation Wizard: Error icon for Upload does not disappear, breaks, whe...
Status: CLOSED CURRENTRELEASE
Product: RHQ Project
Classification: Other
Component: Provisioning (Show other bugs)
3.0.0
All All
high Severity low (vote)
: ---
: ---
Assigned To: John Mazzitelli
Corey Welton
:
Depends On:
Blocks: jon24-provisioning
  Show dependency treegraph
 
Reported: 2010-07-19 19:15 EDT by Corey Welton
Modified: 2011-05-23 21:10 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-23 21:10:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
screenshot showing broken img. (23.37 KB, image/png)
2010-07-19 19:18 EDT, Corey Welton
no flags Details

  None (edit)
Description Corey Welton 2010-07-19 19:15:09 EDT
Description of problem:

When a user attempts to upload an invalid Bundle, s/he is presented with a red (!) icon indicating that there was a problem with the upload.  Upon switching to URL or Recipe options, the icon disappears and is replaced with a broken object.

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


How reproducible:

Every time

Steps to Reproduce:
1.  Create a text file called "crap.txt" and fill it with gibberish.
2.  Administration > Content > Bundles > New
3.  Choose the "Upload" option and select your "crap.txt" file.
4.  Hit "Next".  RHQ will attempt to parse your text file and return an appropriate error.
5.  Switch to either the URL or Recipe radio button.
6. View results
  
Actual results:

Error Icon next to "Upload" does not cleanly go away -- it returns a broken img. (see forthcoming screenshot)

Expected results:
Clean UI.

Additional info:
Comment 1 Corey Welton 2010-07-19 19:18:20 EDT
Created attachment 433031 [details]
screenshot showing broken img.
Comment 2 John Mazzitelli 2010-12-14 14:43:13 EST
this is the image URL:

/availability/availability_grey_16_Disabled.png

we don't have or use the GWT "_Disabled" images. We need to get the smartgwt component to not use _Disabled image when the component is disabled.
Comment 3 John Mazzitelli 2010-12-14 14:45:33 EST
there's other problems here. We should have the radio button switch if you enter a value in the "upload recipe" component. The "upload recipe" upload component isn't rendering properly either.
Comment 4 John Mazzitelli 2010-12-14 23:04:55 EST
checked in a few changes so this works a bit better.

now the upload buttons and icons should be rendering properly and getting enabled/disabled at the appropriate times.

to test, follow the same procedures as in description of this issue:

Steps to Reproduce:
1.  Create a text file called "crap.txt" and fill it with gibberish.
2.  Administration > Content > Bundles > New
3.  Choose the "Upload" option and select your "crap.txt" file.
4.  Hit "Next".  RHQ will attempt to parse your text file and return an
appropriate error.
5.  Switch to either the URL or Recipe radio button.
6. View results

Also, before uploading anything, click different radio buttons (URL, upload, and recipe options) and see that components get enabled and disabled appropriate.
Comment 5 Corey Welton 2011-03-14 16:50:11 EDT
Verified.
Comment 6 Corey Welton 2011-05-23 21:10:28 EDT
Bookkeeping - closing bug - fixed in recent release.
Comment 7 Corey Welton 2011-05-23 21:10:44 EDT
Bookkeeping - closing bug - fixed in recent release.

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