← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 832056] Re: [6.0] mail_gateway: crm_claim.message_new fails when bad 'priority' value is given from mail_gateway

 

** Attachment removed: "patch_001.diff"
   https://bugs.launchpad.net/openobject-addons/+bug/832056/+attachment/2303004/+files/patch_001.diff

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/832056

Title:
  [6.0] mail_gateway: crm_claim.message_new fails when bad 'priority'
  value is given from mail_gateway

Status in OpenERP Modules (addons):
  New

Bug description:
  stable [6.0] revno: 4781

  When an email with unexpected value in 'X-Priority' header is fetched
  'crm_claim' raises an ValidateError when creating new object from
  'mailgate_tool.process_email'

  Exception is the ValidateError: The value "Normal" for the field
  "priority" is not in the selection

  This causes, for example, a loop fetching mail in
  'email_server.fetch_mail' when we receive an email with 'X-Priority'
  header as 'Normal'.

  Patch is attached.

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


References