[v1.1.1] No description found on some bug reported via email

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
|UVI|
Posts: 12
Joined: 02 Dec 2008, 12:20

[v1.1.1] No description found on some bug reported via email

Post by |UVI| »

In our production environment from about 2 weeks we got various bug reported via email with "No description found" on description field.

Some bugs is normal, some other have "no description found"
Analyzing all mail temp mail folder I see all emails have text, and the problem is located on email parser.

I've temporary workarounded the problem printing all email stream in this cases editing core/mail.api.php file from:

Code: Select all

                $t_mail['X-Mantis-Body'] = $t_mp->body();
                if ( 0 == strlen( $t_mail['X-Mantis-Body'] ) ) {
                    $t_mail['X-Mantis-Body'] = "No description found";
                }



to this:

Code: Select all

                $t_mail['X-Mantis-Body'] = $t_mp->body();
                if ( 0 == strlen( $t_mail['X-Mantis-Body'] ) ) {
                    #$t_mail['X-Mantis-Body'] = "No description found";
                    $t_mail['X-Mantis-Body'] = $p_mail;
                }

Anyone can help me?

I attach a mail complete streams here:

Code: Select all

Received: from mx02.XXXXXXXXXXXXXXXX ([IP])
          by XXXXXXXXXXXXXXXX (Lotus Domino Release 8.5.2 HF64)
          with ESMTP id 2010101116520869-10011 ;
          Mon, 11 Oct 2010 16:52:08 +0200
X-AuditID: 3e65545e-b7c7dae000004d19-38-4cb323a3915a
Received: from mail-bw0-f52.google.com (mail-bw0-f52.google.com
[209.85.214.52])
    by mx02.DOMAIN.COM (Symantec Brightmail Gateway) with
SMTP id F4.EC.19737.3A323BC4; Mon, 11 Oct 2010 16:48:03 +0200 (CEST)
Received: by bwz13 with SMTP id 13so3044498bwz.11
        for <mantis_amministrativi@mydomain.com>; Mon, 11 Oct 2010 07:48:03
-0700 (PDT)
Received: by IP with SMTP id v23mr3612183bkk.105.1286808483448;
        Mon, 11 Oct 2010 07:48:03 -0700 (PDT)
Return-Path: <xxxxxxxx@email.com>
Received: from Name ([IP])
        by mx.google.com with ESMTPS id
o12sm4377715bkb.9.2010.10.11.07.47.58
        (version=SSLv3 cipher=RC4-MD5);
        Mon, 11 Oct 2010 07:47:59 -0700 (PDT)
Message-ID: <0FC2D88A9D4344B0A68620A35D6BC21C@email.com>
From: "Name Surname" <name.surname@email.com>
To: "mantis" <mantis_amministrativi@mydomain.com>
Subject: Fw: targa AAAAAAAAA
Date: Mon, 11 Oct 2010 16:47:56 +0200
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994
X-Brightmail-Tracker: AAAAAhZCyC4WQ2m9
X-MIMETrack: Itemize by SMTP Server on
ABRO/SERVER/IT(Release 8.5.2 HF64|September
 28, 2010) at 11/10/2010 16.52.08,
    Serialize by Router on SERVPRO/SERVER/IT(Release
8.5.1FP1|January
 05, 2010) at 11/10/2010 16:46:04,
    Serialize complete at 11/10/2010 16:46:04,
    Serialize by POP3 Server on SSERVPRO/SERVER/IT(Release
 8.5.1FP1|January 05, 2010) at 11/10/2010 16:46:12,
    Serialize complete at 11/10/2010 16:46:12
Content-Type: multipart/alternative;
    boundary="----=_NextPart_000_017A_01CB6964.0E44FF40"

This is a multi-part message in MIME format.

------=_NextPart_000_017A_01CB6964.0E44FF40
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
    charset="iso-8859-1"

targa cccccccccccccc
text
text
text here
text




__________ Informazioni da ESET NOD32 Antivirus, versione del database =
delle firme digitali 5519 (20101011) __________

Il messaggio =E8 stato controllato da ESET NOD32 Antivirus.

www.nod32.it


__________ Informazioni da ESET NOD32 Antivirus, versione del database =
delle firme digitali 5520 (20101011) __________

Il messaggio =E8 stato controllato da ESET NOD32 Antivirus.

www.nod32.it

------=_NextPart_000_017A_01CB6964.0E44FF40

------=_NextPart_000_017A_01CB6964.0E44FF40
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
    charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2 face=3DArial>targa <FONT size=3D3=20
face=3D"Times New Roman">CCCCCCCCCCCC</FONT></FONT></DIV>
<DIV>text</DIV>
<DIV>saluti</DIV>
<DIV><FONT size=3D2 face=3DArial>textextexthere</FONT></DIV>

__________ Informazioni da ESET =
NOD32=20
Antivirus, versione del database delle firme digitali 5519 (20101011)=20
__________

Il messaggio =E8 stato controllato da ESET NOD32=20
Antivirus.

<A=20
href=3D"http://www.nod32.it">www.nod32.it</A> [^]


__________ =
Informazioni=20
da ESET NOD32 Antivirus, versione del database delle firme digitali 5520 =

(20101011) __________

Il messaggio =E8 stato controllato da ESET =
NOD32=20
Antivirus.

<A=20
href=3D"http://www.nod32.it">www.nod32.it</A> [^]
</BODY></HTML>
------=_NextPart_000_017A_01CB6964.0E44FF40

------=_NextPart_000_017A_01CB6964.0E44FF40--
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: [v1.1.1] No description found on some bug reported via e

Post by atrol »

Maybe this is the right place to have a look and ask
http://www.mantisbt.org/bugs/view.php?id=4286
Please use Search before posting and read the Manual
Post Reply