← 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 have traced reported issue at our end found the problem, you
are right we must handle the field 'X-Priority' as it is Non-Standard
Header field. and Your patch is also working good so we are applying
your patch here and committed the fix in  lp:~openerp-dev/openobject-
addons/trunk-bug-832056-jam and we have proposed it for merging to lp
:openobject-addons (trunk).

Thank You for your kid support

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

-- 
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):
  Fix Committed

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