← Back to team overview

openerp-india team mailing list archive

[Bug 1093784] Re: 7.0 must not allow loading xml without check

 

Hi,

I confirm this issue. That's really annoying and disturbing because the
error is not an accurate when we upgrade the module (it displays the
error of the view stored in the DB even the view in the addon's file has
been corrected meanwhile).

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1093784

Title:
  7.0  must not allow loading xml without check

Status in OpenERP Server:
  New

Bug description:
  Hello

  it seems to be possible to load invalid xpath expressions, which are
  only validated during next update BEFORE the new correct xpath is
  loaded.

  the only way to fix this is to delete the view definition manually in
  the UI.

  the error messages is a bit miss leading - it mentions the wrong xpath
  line, but then it shows the first view definition of the file
  regardless if this one is the one causing the problem or not.

  Example
  -        <xpath expr="/form/notebook/page[@string='Cash Transactions']/field/form/group/field[@name='account_id']" position="replace">
  +        <xpath expr="/form/sheet/notebook/page[@string='Cash Transactions']/field/form/group/field[@name='account_id']" position="replace">

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1093784/+subscriptions


References