Microsoft's new Compatibility View update to IE8 breaks GWT/GB2
Description
Environment
Attachments
Activity

Vernon O'Connor April 21, 2010 at 10:34 AM
QA VERIFIED ON PROD, QA PASS, GB2 version 1.2.0.

Peter Peterson March 15, 2010 at 3:27 PM
QA PASS - 3/15/2010

Vernon O'Connor March 10, 2010 at 11:26 AM
QA VERIFICATION ON rSmart26test TEST SERVER
Using PC Windows Vista Enterprise SP2, Firefox 3.6 & IE8, on:
SmartSite@UCDavis - 2.6.2.10_a2 - Sakai 2.6.1 - Server "rsmart26test2"
GB2 version 1.2.0-b3/sakai-2.6.1
QA TASK:
Verify resolution of Microsoft's new Compatibility View update to IE8 breaks GWT/GB2.
QA SUMMARY:
GB2 version 1.2.0-b3/sakai-2.6.1
QAQC 001 001 WQ 2010
QAQC Testing 001 WQ 2010
SU as bcxjones
MAT 150C 001 SQ 2010
MAT 280 001 WQ 2010
Verified resolution of Microsoft's new Compatibility View update to IE8 breaks GWT/GB2, QA Pass.
Overall, QA Pass.
QA RESULTS:
Verified resolution of Microsoft's new Compatibility View update to IE8 breaks GWT/GB2, QA PASS.
Overall, QA PASS.
QA VERIFICATION ON rSmart26test TEST SERVER

Vernon O'Connor February 16, 2010 at 11:34 AM
After clicking on arrow adjacent to My Default Gradebook folder icon. Refresh reverts to (default) view of no Categories or Items displayed.

Vernon O'Connor February 16, 2010 at 11:31 AM
1) Categories & Items not displayed in LHS window upon initial viewing & after refresh (default settings issue?)
2) Identifier row not displayed in RHS window.
3) Icons displayed in first Item grade box for second student on list.
http://support.microsoft.com/kb/978506
http://dev-answers.blogspot.com/2009/04/ie8-compatibility-issues-and-working.html
Basically, it seems Microsoft has decided that they're going to change the way they view web pages – to make them stick to standards they weren't obeying before. At the same time they've stopped interpreting the old non-standard methods they created for ie6 and ie7 and implemented a stricter conformation to the standards than the other major browsers.
The problem is that GWT compiles JavaScript explicitly for IE browsers to make them use the Microsoft non-standard method of doing things, so the JavaScript that gets run when you visit GB2 in IE8 is explicitly compiled for IE6/7/8 prior to this most recent change.
Solutions:
(1) *Near-term/Workaround* From what I've read Microsoft has added a new "Compatibility View" button to the browser, which you can click to make the page render in the old way on a site-by-site basis.
(2) *Medium-term* Apparently, we can add a meta tag to the page:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
(3) *Long-term* Almost certainly Google will roll out a fix to this to make GWT compile correctly for the new IE8 compatibility mode. Once they do, we can upgrade to that version and remove the meta tag from the fix above.