Comments at toplevel of member overloads in an inherited view blow up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP's Framework R&D |
Bug Description
In an inherited view e.g.
<record id="my_
<field name="name"
<field name="model"
<field name="type"
<field name="inherit_id" ref="base.
<field name="arch" type="xml">
<data>
<!-- this is my comment -->
<field name="foo" position=
</data>
</field>
</record>
the presence of the comment will cause the matching to break down with the following trace:
[2009-12-10 11:36:20,372] ERROR:web-
[2009-12-10 11:36:20,372] ERROR:web-
[2009-12-10 11:36:20,372] ERROR:web-
[2009-12-10 11:36:20,372] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,373] ERROR:web-
[2009-12-10 11:36:20,374] ERROR:web-
The inheritance handler should only consider actual elements, not look for (and try to replace) comments.
Related branches
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
status: | New → Confirmed |
Fix landed in revision 3126 <email address hidden>
Thanks!