1 message in com.mysql.lists.eventum-usersRe : Bug in createIssueFromEmail func...
FromSent OnAttachments
jlavigne17 Jan 2007 07:23 
Subject:Re : Bug in createIssueFromEmail function
From:jlavigne (djay@yahoo.fr)
Date:01/17/2007 07:23:57 AM
List:com.mysql.lists.eventum-users

Maybe, it is possible to fix it with few enhancements in the
Support::getEmailInfo :

Replace: $should_create_array = Support::createIssueFromEmail($info, $headers,
$message_body, $t['date'], @$email->fromaddress, @$email->subject);

with : $subject_fixEncoding = Mime_Helper::fixEncoding(@$email->subject); $should_create_array = Support::createIssueFromEmail($info, $headers,
$message_body, $t['date'], @$email->fromaddress, $subject_fixEncoding);

Are you agree with these enhancements ?

BR Jerome LAVIGNE

----- Message d'origine ---- De : jlavigne <djay@yahoo.fr> À : even@lists.mysql.com Envoyé le : Mercredi, 17 Janvier 2007, 15h20mn 02s Objet : Bug in createIssueFromEmail function

hello,

In createIssueFromEmail function, there is a test to look for [#XXXX] in the
subject line. This test doesn't work with iso-8859-1 charset in the subject string.

For examples: =?iso-8859-1?Q?RE:_=5B#1330=5D_Re:_Demande_d'info_pour_la_r=E9alisation?==?iso-8859-1?Q?_des_d=E9mo_3GSM?= =?iso-8859-1?Q?_=5B=231220=5D_Re=3A_=5BCEV_3=5D_Player_Chronom=E8tre?=

With these examples, [#XXX] is not recognized and Eventum create a new issue
instead of to associate it to the existing issue.

How can I fix it ?

Best Regards

Jerome LAVIGNE