← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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.

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

-- 
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:
  mail_gateway: crm_claim.message_new fails when bad 'priority' value is
  given from mail_gateway

Status in OpenERP Modules (addons):
  New

Bug description:
  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


Follow ups

References