← Back to team overview

credativ team mailing list archive

[Bug 869936] Re: _sql_constraints and _constraints exceptions open an application error window

 

Thibaut,

Thanks a lot for proposing your help on this.

You simply have to look at the exception handling going on around the
call to netsvc.dispatch_rpc() in the openerp/wsgi.py file, and replicate
it in the exception handling (again around netsvc.dispatch_rpc()) in
openerp/service/netrpc_server.py.

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

Title:
  _sql_constraints and _constraints exceptions open an application error
  window

Status in OpenERP Server:
  Confirmed

Bug description:
  Constraints errors defined in models' _sql_constraints opens an
  exception window (with stracktrace, etc) wheras it should opens a
  simple dialog showing the message error. In latest trunk.

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