← Back to team overview

openerp-india team mailing list archive

[Bug 1093784] Re: 7.0 must not allow loading incorrect xpath expression

 

I think this happens if a dependent module causes automatic installation
of a "dependency" module

-- 
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 incorrect xpath expression

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