QWeb inheritance broken in MSIE (8, 9, 10), client does not work at all

Bug #891132 reported by Cuong
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
High
Fabien Meghazi (OpenERP)

Bug Description

When trying to launch web client in MSIE (tested version 8 to 10, all expose the same issue) the rendering of the home page stops and the console prints the following error:

Incompatible Type
jquery-1.6.4.js?debug=1322227424.0, Ligne 6227 Caractère 6

This specific line is simply `fragment.appendChild( ret[i] );`. This usually works without any issue with `fragment` being a DocumentFragment and `ret[i]` being some sort of HTML element (HTML*Element type), but at error point `fragment` is an IXMLDocumentFragment[0].

At this point, the stack is:

 clean jquery-1.6.4.js:6227
 buildFragment jquery-1.6.4.js:6001
 domManip jquery-1.6.4.js:5831
 prepend jquery-1.6.4.js:5650
 extend qweb2.js:403
 _render qweb2.js:351
 render qweb2.js:337
 render views.js:197
 render_element core.js:918
 _render_and_insert core.js:906
 appendTo core.js:858
 ir_actions_act_window views.js:110
 do_action views.js:91
 callback
 Anonymous Function chrome.js:1094
 resolveWith
 resolve
 Anonymous Function core.js:993
 resolveWith
 resolve
 Anonymous Function
 resolveWith
 resolve
 Anonymous Function core.js:441
 resolveWith
 done
 callback

Apparently, MSIE really does not like mixing XML and HTML elements, and QWeb's template override attempts to do just that.

Related branches

Revision history for this message
Cuong (bhcuong2008) wrote :
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Buttons issue in Firefox should be fixed, so I'm removing them from the bug to leave the IE8 issues alone (ideally, they should have been separate bugs as they're separate issues)

summary: - layout issue with IE 8 and Firefox 8
+ layout issue with IE 8
description: updated
Changed in openerp-web:
importance: Medium → Low
Changed in openerp-web:
importance: Low → Medium
summary: - layout issue with IE 8
+ QWeb inheritance broken in MSIE (8, 9, 10), client does not work at all
Changed in openerp-web:
importance: Medium → High
description: updated
description: updated
Changed in openerp-web:
assignee: OpenERP R&D Web Team (openerp-dev-web) → Fabien Meghazi (OpenERP) (fme)
Revision history for this message
Fabien Meghazi (OpenERP) (fme) wrote :

Fixed in Revision:
1574 revid:<email address hidden>

Could not test on IE 7 neither IE 10
IE 8 still crashes but for another error

Changed in openerp-web:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.