← Back to team overview

openerp-india team mailing list archive

[Bug 1112682] [NEW] View RelaxNG should check that required attribute values are not empty

 

Public bug reported:

The RelaxNG that defines view XML should ensure that attribute values
that are mandatory are not empty. For example:

  <field name="" />

should cause an error in parsing the view. The attached patch implements
this for field@name.

This situation is unlikely to arise for most users, but if it does
there's no other way of identifying the error. Both the Web client and
GTK get caught by it, but they don't report anything useful.

** Affects: openobject-server
     Importance: Undecided
         Status: New

** Attachment added: "view.rng.patch"
   https://bugs.launchpad.net/bugs/1112682/+attachment/3510435/+files/view.rng.patch

-- 
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/1112682

Title:
  View RelaxNG should check that required attribute values are not empty

Status in OpenERP Server:
  New

Bug description:
  The RelaxNG that defines view XML should ensure that attribute values
  that are mandatory are not empty. For example:

    <field name="" />

  should cause an error in parsing the view. The attached patch
  implements this for field@name.

  This situation is unlikely to arise for most users, but if it does
  there's no other way of identifying the error. Both the Web client and
  GTK get caught by it, but they don't report anything useful.

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


Follow ups

References