Bug 818094

Summary: some text fields display blank.gif image overlaid on top of them on IE8
Product: [Other] RHQ Project Reporter: Sunil Kondkar <skondkar>
Component: Core UIAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: urgent    
Version: 4.4CC: hrupp, mazz
Target Milestone: ---   
Target Release: RHQ 4.5.0   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 822678 (view as bug list) Environment:
Windows, IE8
Last Closed: 2013-09-01 10:09:35 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: 735475, 782579, 817141, 822678    
Attachments:
Description Flags
Screenshot
none
Screenshot_FileToUpload-IE8
none
Drift Creation in IE 8.0
none
Screenshot_TimeZone
none
Screenshot_RHQAgent_Config none

Description Sunil Kondkar 2012-05-02 08:29:42 UTC
Description of problem:

The Bundle Creation wizard displays blank.gif images (red cross image) in URL and Upload fields on IE 8 ( Version 8.0.6001.19190).

Image : coregui/org.rhq.enterprise.gui.coregui.CoreGUI/sc/skins/standard/images/blank.gif

If user selects 'Recipe' radio button, clicks on button 'Click to load a recipe file', and then selects another radio button (URL or Upload), it displays the blank.gif images ( red cross image) in 'File to Upload' field.

Please refer the attached screenshots.

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

Build used: http://hudson.qa.jboss.com/hudson/view/RHQ/job/rhq-master-gwt-locales/329/
Version: 4.4.0-SNAPSHOT
Build Number: c5c7e25

IE version: 8.0.6001.19190

How reproducible:

Always

Steps to Reproduce:
1. Login to RHQ on IE 8
2. Click on Bundles main menu.
3. Click on 'New' button.
4. Observe the blank.gif images (red cross images) in URL, upload and 'File to Upload' fields.
  
Actual results:
The blank.gif images are displayed in URL, upload and 'File to Upload' fields.

Expected results:


Additional info:

The fields 'Distibution File' next to 'Upload' radio button and 'File to Upload' next to 'Recipe' radio button looks shrinked on IE8. (Smaller size as compared the view with Firefox10)

Comment 1 Sunil Kondkar 2012-05-02 08:30:23 UTC
Created attachment 581538 [details]
Screenshot

Comment 2 Sunil Kondkar 2012-05-02 08:31:05 UTC
Created attachment 581539 [details]
Screenshot_FileToUpload-IE8

Comment 3 Jeeva Kandasamy 2012-05-02 10:27:26 UTC
Created attachment 581567 [details]
Drift Creation in IE 8.0

Similar issue on New Drift creation page..

Screen shot is attached

Browser: IE 8.0.6001.18702

Comment 4 Sunil Kondkar 2012-05-02 12:24:16 UTC
Few more places where the image blank.gif is observed in IE8:

Timezone field on create new operation schedule page for 'Get Current Date/Time' operation.

RHQ Agent->Configurations->Current page

Please refer the attached screenshots.

Comment 5 Sunil Kondkar 2012-05-02 12:25:09 UTC
Created attachment 581600 [details]
Screenshot_TimeZone

Comment 6 Sunil Kondkar 2012-05-02 12:25:48 UTC
Created attachment 581602 [details]
Screenshot_RHQAgent_Config

Comment 7 Charles Crouch 2012-05-02 23:03:51 UTC
Lets investigate, and see if there is something hopefully simple going on here.

Comment 8 John Mazzitelli 2012-05-16 16:29:56 UTC
for the record, the image URL that is coming back with a 404 is this:

http://<rhq-server>:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/sc/skins/standard/images/blank.gif

Comment 9 John Mazzitelli 2012-05-16 17:15:26 UTC
I noticed this missing image on text items that are disabled. So I googled and found that someone on the smartgwt forums reports the same thing:

http://forums.smartclient.com/showthread.php?t=6514

Comment 10 John Mazzitelli 2012-05-16 17:29:48 UTC
look at post #28 for a summary of the issue and possible causes/solutions:

http://forums.smartclient.com/showthread.php?t=6514&page=3

Comment 11 John Mazzitelli 2012-05-16 18:22:57 UTC
that smartgwt forum post #28 says this:

"3. load order issues, where load_skin.js is loaded after the application starts. There are a few different ways to determine if this is your problem, but one is to call Page.getSkinDir() from onModuleLoad(). If the path includes "standard" your load_skin.js file hasn't loaded yet."

I did that and the Page.getSkinDir returns "http://<rhq-server>:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/sc/skins/Enterprise/"

Nothing with "standard" in it - so that probably isn't any indication of a problem.

Comment 12 John Mazzitelli 2012-05-16 19:43:46 UTC
this is a bug in the SmartGWT library.

as per post #30

http://forums.smartclient.com/showpost.php?p=83448&postcount=30

which was a response to post #29

http://forums.smartclient.com/showpost.php?p=83371&postcount=29

I rebuilt using the 5/16/2012 nightly build ( http://www.smartclient.com/builds/SmartGWT/3.0p/LGPL/2012-05-16 ) and I no longer see the broken image overlaid on top of a disabled text item.

Not sure how to proceed. I don't think we want to ship with a nightly build. Perhaps wait for the next SmartGWT release.

Note that I do not have a bug number - I just am going by the SmartGWT forum posts linked above.

Comment 13 John Mazzitelli 2012-05-16 20:45:39 UTC
as per smartgwt.com website:

http://www.smartclient.com/builds

"The letter "p" in a version (e.g. "8.2p") indicates a patch build, containing post-release fixes only, with no new features added. These builds are a convenience relative to having to install all post-release patches, and should generally be used instead of the actual releases."

so the version I tested with is the latest version Isomorphic says should be deployed in production.

See the comment in reply to my post asking the question:

http://forums.smartclient.com/showpost.php?p=86449&postcount=34

Comment 14 John Mazzitelli 2012-05-16 21:32:35 UTC
workarond is to add the .gif in our coregui app and see if that fixes is.

the real fix would be to get the latest patch build for smartgwt but that would require alot of testing to make sure nothing else breaks.

Comment 15 John Mazzitelli 2012-05-17 18:33:55 UTC
git commit to master: f8d25ac1f598f8d3441e94ee2eaa1de6b7298eb3

once we upgrade to a new SmartGWT, we should revert this since it won't be needed. To revert this, we just need to delete this blank.gif:

modules/enterprise/gui/coregui/src/main/webapp/org.rhq.enterprise.gui.coregui.CoreGUI/sc/skins/standard/images/blank.gif

Comment 16 Heiko W. Rupp 2013-09-01 10:09:35 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.