View Issue Details

IDProjectCategoryView StatusLast Update
0002957SOGoActiveSyncpublic2014-11-18 18:15
ReporterRaido Assigned Toludovic  
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Client] MicrosoftOSWindowsOS Version8
Target Version2.2.10Fixed in Version2.2.10 
Summary0002957: Attatchments broken using ActiveSync
Description

My attatchment are corrupted when I try to save them from Outlook 2013. Outlook is configured with ActiveSync.

Problem is with .dwg files

Altough attatchment are fine when donwloaded from webmail. I compared file sizes between outlook and webmail. Webamail attatchments are larger than in the same email in outlook.

TagsNo tags attached.

Relationships

related to 0002817 resolvedludovic ActiveSync attachement broken using Outlook 2013 

Activities

ludovic

ludovic

2014-10-17 11:34

administrator   ~0007614

Please attach a complete message as an EML file, zipped, to this ticket.

Raido

Raido

2014-10-17 11:50

reporter  

problematic email.7z (111,481 bytes)
Raido

Raido

2014-10-20 08:38

reporter   ~0007618

Added a problematic email that was forwaded to me.

Raido

Raido

2014-10-21 09:28

reporter   ~0007622

Topic is geting rather urgent. Please some advice!

ludovic

ludovic

2014-10-21 19:09

administrator   ~0007623

We'll look at it today or tomorrow. If there's any bug, it WILL be fixed on v2.2.10.

Raido

Raido

2014-10-27 07:28

reporter   ~0007625

Have you found anything?

ludovic

ludovic

2014-10-27 13:29

administrator   ~0007627

Haven't looked at the issue yet.

Raido

Raido

2014-10-28 09:21

reporter   ~0007628

I think my issuse is similar to: http://www.sogo.nu/bugs/view.php?id=2817

I set up an IMAP account and attatchments are fine.

Raido

Raido

2014-10-30 13:31

reporter   ~0007641

Also send some test .zip and .rar attatchments.

Tried to open them with 7zip, corrupted.
Tried to open them with winrar. Winrar opens .zip but with .rar corrupt header is found.

Raido

Raido

2014-10-30 13:42

reporter  

zip test.eml.msg (400,384 bytes)
ludovic

ludovic

2014-10-31 15:39

administrator   ~0007648

It seems to be a bug in SOPE - when we re-encode mails for Outlook 2013. We manipulate text parts but don't touch attachment.

In the original test mail you attached to this ticket, there are 3 or 4 bytes missing after the re-encoding. Obviously, SOPE is again the culprit here.

Raido

Raido

2014-11-03 08:51

reporter   ~0007650

Okay.
what is my solution here?

ludovic

ludovic

2014-11-06 16:28

administrator   ~0007664

Wait until we fix it.

ludovic

ludovic

2014-11-18 01:20

administrator   ~0007693

In fact, it looks like ALL SOPE-encoded messages have attachments with 3 bytes missing in Outlook 2013.

ludovic

ludovic

2014-11-18 01:30

administrator   ~0007694

If the file size is a multiple of 3, we lose 3 bytes.

If the size is 1 over a multiple of 3 bytes, we lose 1 byte.

ludovic

ludovic

2014-11-18 01:37

administrator   ~0007695

Adding two pads (==) solve the issue. Stupid Outlook bug.

ludovic

ludovic

2014-11-18 02:06

administrator   ~0007696

Last edited: 2014-11-18 17:44

Fixed in SOPE: https://github.com/inverse-inc/sope/commit/67c58bfd91e859c9bf643cf20cc44ed2fe6e389f

Please try the upcoming nightly builds, it's very important for our release.

ludovic

ludovic

2014-11-18 18:15

administrator   ~0007701

Nightly builds are now available.

Issue History

Date Modified Username Field Change
2014-10-17 11:12 Raido New Issue
2014-10-17 11:34 ludovic Note Added: 0007614
2014-10-17 11:50 Raido File Added: problematic email.7z
2014-10-20 08:38 Raido Note Added: 0007618
2014-10-21 09:28 Raido Note Added: 0007622
2014-10-21 19:09 ludovic Note Added: 0007623
2014-10-21 19:10 ludovic Target Version => 2.2.10
2014-10-27 07:28 Raido Note Added: 0007625
2014-10-27 13:29 ludovic Note Added: 0007627
2014-10-28 09:21 Raido Note Added: 0007628
2014-10-30 13:31 Raido Note Added: 0007641
2014-10-30 13:42 Raido File Added: zip test.eml.msg
2014-10-31 15:39 ludovic Note Added: 0007648
2014-11-03 08:51 Raido Note Added: 0007650
2014-11-06 16:28 ludovic Note Added: 0007664
2014-11-18 01:20 ludovic Note Added: 0007693
2014-11-18 01:30 ludovic Note Added: 0007694
2014-11-18 01:37 ludovic Note Added: 0007695
2014-11-18 02:06 ludovic Note Added: 0007696
2014-11-18 02:06 ludovic Status new => resolved
2014-11-18 02:06 ludovic Fixed in Version => 2.2.10
2014-11-18 02:06 ludovic Resolution open => fixed
2014-11-18 02:06 ludovic Assigned To => ludovic
2014-11-18 02:07 ludovic Relationship added related to 0002817
2014-11-18 17:44 ludovic Note Edited: 0007696
2014-11-18 18:15 ludovic Note Added: 0007701