-
29 Mar 2013 7:46 PM #11
I set to run with default permutations of 6, and noticed while returning user.agent from each browser as follows:
Firefox: works fine
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
chrome: works fine
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
safari: - works fine
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
ie8: - loading....!
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)
Here all browsers were working fine except the last browser IE8, as I dont see what kind of error it is.
Any help?
-
30 Mar 2013 6:52 PM #12
If I could debug the app, I could possibly make suggestionsIf I could see an error, I would go for the fix, but I am not sure what the error is.
. If you can share the *full* module file and app, I could try it out and see what is wrong. Likewise if you could compile an example in PRETTY I could try launching it and see if there is any error. Better still, break the app down to something simpler - use the same module file and a simple entrypoint - if the error doesn't happen, it has nothing to do with your module, it is in the app itself. Likewise, if the error *does* happen, then it is a configuration problem, and sharing the module file might allow me to make a suggestion.
Consider opening a support ticket if you are unable to share details on the public forum. But without more than no error, I can't begin to suggest a fix.
One last thought: any chance your IE7 test machine has issues with http://sencha.com/examples/ ? If so, it could be your test machine, not the app... If not, and you can't share details, simplify until the bug goes away - start with the module, reducing it down to the bare necessities, then the entrypoint itself.
-
31 Mar 2013 3:19 PM #13
I could see the error after I debug as you given in the reply. Here is the stack trace of the error and it reports that the gxt.user.agent property is not found. Though I was added in the entry module like the below.
<set-property name="gxt.user.agent" value="ie6,ie7,ie8,ie9,chrome"/>
StackTrace:
[DEBUG] [dev] - Validating units:
[DEBUG] [dev] - Rebinding com.google.gwt.useragent.client.UserAgentAsserter.UserAgentProperty
[DEBUG] [dev] - Invoking generator com.google.gwt.useragent.rebind.UserAgentGenerator
[ERROR] [dev] - Unable to get value of property 'gxt.user.agent'
[ERROR] [dev] - Unable to find value for 'user.agent'
[ERROR] [dev] - Deferred binding failed for 'com.google.gwt.useragent.client.UserAgentAsserter.UserAgentProperty'; expect subsequent failures
[ERROR] [dev] - Unable to load module entry point class com.google.gwt.useragent.client.UserAgentAsserter (see associated exception for details)
[ERROR] [dev] - Failed to load module 'dev' from user agent 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)' at 127.0.0.1:59323
Should I need to inherit the module UserAgentAsserter.
-
1 Apr 2013 9:52 AM #14
There is no such module, that is a class. This error is somewhat confusing, but seems to suggest that you have mixed versions of GWT on your classpath. Your error is also changing each post - this new one looks like a classpath bug, previous to that only IE8 didn't work, but when you started only IE7 didn't work.
If you can't/won't share a test case for this and a concrete series of steps to reproduce, I can't do anything for you. As has been discussed, your errors are problem configuration or setup related, and possibly something specific to your IE setup, but if I can't see the code and you won't test other apps that work for our IE test machines (like ), I can't magically come up with the answer for code I can't see in a browser I can't access.
-
2 Apr 2013 4:29 AM #15
I agreed that I was pointed development server through eclipse might have shown different error due to class path difference in gwt versions.
-
3 Apr 2013 5:28 AM #16
Colin, When I press F12 to change Document Mode to IE7 standards, it's displaying in IE8 browser. I am not clear on this part of document mode changes.
-
3 Apr 2013 8:39 AM #17
IE8 running in IE7 mode does not actually behave like IE7 - this means that if we supported it, we'd need to support IE6, IE7, IE8, IE*-behaving-like-IE7, IE9, IE9-behaving-like-IE8, IE9-behaving-like-IE7, etc... So we only support browsers behaving like themselves. Deliberately asking the browser to behave somewhat like another browser is not supported, just as setting Chrome's user agent to be Firefox, or disabling images or JavaScript.
Which version of GXT 3 are you using? I believe that as of about GXT 3.0.2 or 3.0.3 we made a fix that at least allows IE8 in IE7 mode to draw some things, but it is far from perfect, and we still do not officially support it for the reasons mentioned above.
-
3 Apr 2013 10:32 AM #18
Thanks Colin. We have GXT 3.0.1 and GXT 2.2.5 in the module, as our older applications were built using the later one. In the recent development we have started using ui binder with GXT 3.0.1.
I would try download 3.0.2 for testing in development server.
-
3 Apr 2013 10:47 AM #19
If you are updating, remember that GXT 3.0.4 is the latest support version, and has a number of bugs fixed (see the release notes) that were not fixed in 3.0.1 or 3.0.2.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote