← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 805507] Re: [trunk] fetchmail using pop to create hr.applicant fail when mail has no subject

 

Hello, 
     We have tested the issue a our end and have fixed and committed to lp:~openerp-dev/openobject-addons/trunk-bug-805507-jam. Same issue found with crm lead, claim and helpdesk that also been fixed in same branch.
Thank You

** 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/805507

Title:
  [trunk] fetchmail using pop to create hr.applicant fail when mail has
  no subject

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  - Have a email address where we can fetch email using pop
  - Send a mail with an empty subjec to this address
  - Create a pop server to fetch email and configure to create hr Applicant
  - Fetch 

  got this error : [2011-07-04 16:17:21,680][?] ERROR:db.cursor:bad query: insert into "hr_applicant" (id,"stage_id","user_id","description","partner_address_id","company_id","priority","state","active","email_cc","partner_id","email_from","name",create_uid,create_date) values (39,1,NULL,E'test
  ',NULL,1,E'3',E'draft',E'True',NULL,NULL,E'thibault Francois <testmail.openerp@xxxxxxxxx>',NULL,1,now())
  Traceback (most recent call last):
    File "/home/openerp/source/server/trunk/openerp/sql_db.py", line 136, in execute
      res = self._obj.execute(query, params)
  IntegrityError: ERREUR:  une valeur NULL viole la contrainte NOT NULL de la colonne « name »

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


References