← Back to team overview

openerp-india team mailing list archive

[Bug 1109002] [NEW] ir_cron args constraint failure is uninformative

 

Public bug reported:

When the constraint on the ir.cron 'args' field fails, very little
information is provided. The message

  Error occurred while validating the field(s) args: Invalid arguments

appears in the log. The _check_args method on the ir.cron model class
captures the exception thrown by str2tuple and throws it away. It could
at least dump the exception in the error log.

http://bazaar.launchpad.net/~openerp/openobject-
server/trunk/view/head:/openerp/addons/base/ir/ir_cron.py#L86

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

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

Title:
  ir_cron args constraint failure is uninformative

Status in OpenERP Server:
  New

Bug description:
  When the constraint on the ir.cron 'args' field fails, very little
  information is provided. The message

    Error occurred while validating the field(s) args: Invalid arguments

  appears in the log. The _check_args method on the ir.cron model class
  captures the exception thrown by str2tuple and throws it away. It
  could at least dump the exception in the error log.

  http://bazaar.launchpad.net/~openerp/openobject-
  server/trunk/view/head:/openerp/addons/base/ir/ir_cron.py#L86

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


Follow ups

References