← Back to team overview

credativ team mailing list archive

[Bug 917960] [NEW] Improper raise 'Unknown Report Type'

 

Public bug reported:

penerp-server-6.0.3/bin/report/report_sxw.py : 417

            raise 'Unknown Report Type'


This is not valid and leads to :
- wrong error messages in some report plugins (such as aeroo).
- the following: ERROR:web-services:[09]: TypeError: exceptions must be old-style classes or derived from BaseException, not str

A real Exception should be raised instead.

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

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

Title:
  Improper raise 'Unknown Report Type'

Status in OpenERP Server:
  New

Bug description:
  penerp-server-6.0.3/bin/report/report_sxw.py : 417

              raise 'Unknown Report Type'

  
  This is not valid and leads to :
  - wrong error messages in some report plugins (such as aeroo).
  - the following: ERROR:web-services:[09]: TypeError: exceptions must be old-style classes or derived from BaseException, not str

  A real Exception should be raised instead.

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


Follow ups

References