credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #00476
[Bug 898176] Re: Recursion is not checked while loading inherited views
Dear Amit Parik,
Thanks for confirming this. I admit it's a comfort feature, and only helps distracted devs such as me.
Lionel.
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/898176
Title:
Recursion is not checked while loading inherited views
Status in OpenERP Server:
Confirmed
Bug description:
In the current trunk as well as in v6.0, the hierechical structure of views and inherited views is not checked for loops when creating a new inherited view.
This could lead to infinite loops that are a bit hard to debug without a hint from the server.
Example: the server should refuse to load a view such as the following one - please notice that id = inherit_id:
<record id="product.product_product_tree_view" model="ir.ui.view">
<field name="name">product_label.product.tree</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_product_tree_view"/>
<field name="arch" type="xml">
<xpath ..... />
</field>
</record>
Lionel Sausin.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/898176/+subscriptions
References