[OP-183] Some attachments are considered as inline Created: 10/Mar/15  Updated: 19/May/15  Resolved: 19/May/15

Status: Closed
Project: Opush
Component/s: None
Affects Version/s: 3.1.0
Fix Version/s: 3.1.0

Type: Bug Priority: Normal
Reporter: Antoine DUPRAT Assignee: Antoine DUPRAT
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File only_attachments.eml    
Issue Links:
Relates
relates to OBMFULL-6378 MimePart should check it's contentTyp... Closed
Rank: 6793

 Description   

Pre-conditions

usera imports the given email with TBird.

Reproduction steps

As usera synchronize with his phone, then one attachment is inline.

Current behavior

Only one attachment in AirSyncBase:Attachments section.

  1. NOK
    <Add>
    <ServerId>9:10</ServerId>
    <ApplicationData>
    <Email:To>"usera" &lt;usera@adupratvm.lyon.lan&gt; </Email:To>
    <Email:From> &lt;usera@adupratvm.lyon.lan&gt; </Email:From>
    <Email:ReplyTo> &lt;usera@adupratvm.lyon.lan&gt; </Email:ReplyTo>
    <Email:Subject>Only two attachments</Email:Subject>
    <Email:DateReceived>2015-03-10T13:42:38.000Z</Email:DateReceived>
    <Email:DisplayTo>"usera" &lt;usera@adupratvm.lyon.lan&gt; </Email:DisplayTo>
    <Email:Importance>1</Email:Importance>
    <Email:Read>1</Email:Read>
    <AirSyncBase:Attachments>
    <AirSyncBase:Attachment>
    <AirSyncBase:DisplayName>IMG_20150108_190946.jpg</AirSyncBase:DisplayName>
    <AirSyncBase:FileReference>9_10_2_aW1hZ2UvanBlZw==_QkFTRTY0</AirSyncBase:FileReference>
    <AirSyncBase:Method>1</AirSyncBase:Method>
    <AirSyncBase:EstimatedDataSize>268194</AirSyncBase:EstimatedDataSize>
    <AirSyncBase:IsInline>0</AirSyncBase:IsInline>
    </AirSyncBase:Attachment>
    </AirSyncBase:Attachments>
    <AirSyncBase:Body>
    <AirSyncBase:Type>4</AirSyncBase:Type>
    <AirSyncBase:Truncated>1</AirSyncBase:Truncated>
    <AirSyncBase:EstimatedDataSize>301009</AirSyncBase:EstimatedDataSize>
    <AirSyncBase:Data><![CDATA[Return-Path: <usera@adupratvm.lyon.lan>
    Received: from adupratvm.lyon.lan (localhost [127.0.0.1])
             by adupratvm (Cyrus v2.4.16-Debian-2.4.16-4+deb7u2) with LMTPA;
             Tue, 10 Mar 2015 14:42:41 +0100
    X-Sieve: CMU Sieve 2.4
    Received: from localhost (localhost [127.0.0.1])
            by adupratvm.lyon.lan (Postfix) with ESMTP id A237060DC3
            for <usera@adupratvm.lyon.lan>; Tue, 10 Mar 2015 14:42:41 +0100 (CET)
    X-Virus-Scanned: Debian amavisd-new at adupratvm.lyon.lan
    Received: from adupratvm.lyon.lan ([127.0.0.1])
            by localhost (adupratvm.lyon.lan [127.0.0.1]) (amavisd-new, port 10024)
            with ESMTP id pRe8rx4eV4is for <usera@adupratvm.lyon.lan>;
            Tue, 10 Mar 2015 14:42:41 +0100 (CET)
    Received: from [127.0.1.1] (localhost [127.0.0.1])
            by adupratvm.lyon.lan (Postfix) with ESMTP id 19F8160DC5
            for <usera@adupratvm.lyon.lan>; Tue, 10 Mar 2015 14:42:41 +0100 (CET)
    Date: Tue, 10 Mar 2015 14:42:38 +0100
    Subject: Only two attachments
    From: usera@adupratvm.lyon.lan
    To: usera <usera@adupratvm.lyon.lan>
    MIME-Version: 1.0
    Content-Type: multipart/mixed; boundary="--_com.android.email_558759255408330"
    Message-Id: <20150310134241.19F8160DC5@adupratvm.lyon.lan>
    

Expected behavior

Both attachments should be in AirSyncBase:Attachments section.

  1. OK


 Comments   
Comment by Antoine DUPRAT [ 13/Mar/15 ]

QA: MimePart with content-disposition equals to attachment are now considered as attachments.

Comment by Jenkins Continuous Integration Server [ 13/Mar/15 ]

ABORTED: Integrated in opush-master #206
OP-183 Change the dependency version (thilaire: 46f76d9e900f2d1032c6812566acbaafdc6021f6)

Comment by Thomas HILAIRE [ 30/Mar/15 ]

NOK I didn't encounter any issue with this ticket, it seems OK.
I reopen it thanks to OP-180, I want to make the QA after its correction.

Comment by Stephane COLSON [ 19/May/15 ]

OK with Opush 3.1.0-rc1

Generated at Fri Oct 18 09:22:40 CEST 2019 using JIRA 6.1.1#6155-sha1:7188aeec9a6b57d61ea04c52f235f15f55c105e2.