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:
Created attachment 433031 [details] screenshot showing broken img.
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.
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.
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.
Verified.
Bookkeeping - closing bug - fixed in recent release.