gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.49k stars 370 forks source link

ChromeOS User-Agent string causes GWT application to fail to load #8035

Closed dankurka closed 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 8038

(I have done some relatively extensive searching to see if there was a fix for this
beyond the workaround I have suggested to the affected users below. Apologies if this
is/was a known problem)

Found in GWT Release: 2.5.0

Encountered on OS / Browser: 

Experienced in ChromeOS (2913.331.0), Chrome (23.0.1271.111)
Verified in ChromiumOS (3757.0.2013), Chrome (27.0.1421.1)

Detailed description (please be as specific as possible):

When users visit our GWT (2.5.0, w/ GXT [%] 3.0.1 [#]) using Chrome Web on ChromeOS
(versions noted above), the application fails to load and only a white, blank screen
is presented to the user in the browser's viewport. 

It appears to be caused by the User-Agent string that is reported by Chrome Web (two
examples):

Mozilla/5.0 (X11; CrOS armv7l 2913.331.0) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.111
Safari/537.11 

Mozilla/5.0 (X11; CrOS i686 3757.0.2013) AppleWebKit/537.32 (KHTML, like Gecko) Chrome/27.0.1421.1
Safari/537.32 

When the ``CrOS armv7l 2913.331.0`` is changed to ``Linux x86_64``, the application
page loads as expected.  Also, if you change the User-Agent string to any other valid,
common User-Agent string (tested Firefox 7, 15, 18 & Safari 5, also Android tablet),
the application page loads successfully.  

[%] Sencha Ext GWT, aka GXT
[#] https://github.com/iPlantCollaborativeOpenSource/de-webapp/blob/master/pom.xml

Workaround if you have one:

The workaround is to user the Chrome Developer Tools (Tools > Developer Tools > Settings
> Overrides, User-Agent) to override the User-Agent to be another value. 

Links to relevant GWT Developer Forum posts:

I searched and was not able to find any forum posts or messages about this issue. 

Link to more information (screenshots, etc): 

  https://pods.iplantcollaborative.org/jira/browse/DE-759

Reported by andrew.lenards on 2013-02-26 23:22:11


dankurka commented 9 years ago
I am on Andy's dev team, and after some more investigation it turns out that this is
a bug in GXT 3.0.1 (though apparently there is already a fix in GXT 3.0.3), and not
GWT 2.5.0.

Kindly disregard, and thank you.

Reported by psarando on 2013-02-27 00:49:56

dankurka commented 9 years ago

Reported by t.broyer on 2013-02-27 09:31:52

dankurka commented 9 years ago
Apologies for reporting this to the wrong project. 

Reported by andrew.lenards on 2013-02-27 16:31:26

dankurka commented 9 years ago
No problem. Thanks for the update.

Reported by t.broyer on 2013-02-27 17:17:17