View Issue Details

IDProjectCategoryView StatusLast Update
0004371SOGoWeb Mailpublic2018-01-11 16:11
ReporterPhilipp Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version16.04LTS
Product Versionnightly master 
Summary0004371: Impossible to view or download some attachments attachments, just getting new blank window/tab.
Description

Seems that after last big encryption-related commit attachment viewing/downloading fails sometimes. Log shows:

sogod[30065] EXCEPTION: <NSException: 0x55f5b54a9220> NAME:NSInvalidArgumentException REASON:SOGoMailBodyPart(instance) does not recognize isEncrypted INFO:(null)
sogod[30065]: ****, **** "GET /SOGo/so/***/Mail/0/folderArchive/360/1/2/Untitled-2.jpg HTTP/1.1" 501 0/0 0.337 - - 20K

It seems that affects only certain attachments, and when trying to open/download them, blank window or tab appears.

I seems that issue affects CID: inline attachments, but i'm not sure

Additional Information

In attached screenshot attachment image001.gif (inline CID:) is affected by issue, while q.txt is not. I can provide message source if needed.

TagsNo tags attached.

Activities

Philipp

Philipp

2018-01-11 07:34

reporter  

buzzer

buzzer

2018-01-11 09:16

reporter   ~0012498

Same error message in logs when receive ICS base64 encoded appointment from outlook mail system.
Please consider that attachment is "Content-Transfer-Encoding: base64".
appointment cannot be added in calendar from webUI, no issue with external mail reader, that manage appointment.

ludovic

ludovic

2018-01-11 12:27

administrator   ~0012499

Attach sample mails, in EML format, zip them first.

Related Changesets

sogo: master 57674195

2018-01-11 11:10

ludovic


Details Diff
(fix) find the proper container (fixes 0004371) Affected Issues
0004371
mod - SoObjects/Mailer/SOGoMailBodyPart.m Diff File

Issue History

Date Modified Username Field Change
2018-01-11 07:34 Philipp New Issue
2018-01-11 07:34 Philipp File Added: Screen_Shot_2018-01-11_at_09_27_02.png
2018-01-11 09:16 buzzer Note Added: 0012498
2018-01-11 12:27 ludovic Note Added: 0012499
2018-01-11 16:11 ludovic Changeset attached => sogo master 57674195
2018-01-11 16:11 ludovic Assigned To => ludovic
2018-01-11 16:11 ludovic Resolution open => fixed
2018-01-11 16:11 ludovic Status new => resolved