← 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

 

Hello Iván Antón,

     we are setting but to Invalid as New Email engine has improved all
this functionality which is merge in trunk addons, so kindly check with
latest trunk.

Thank You

** Changed in: openobject-addons
       Status: Fix Committed => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to 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 Addons (modules):
  Invalid

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