View Issue Details

IDProjectCategoryView StatusLast Update
0005715SOGoWeb Mailpublic2023-03-22 15:20
Reporterwassy83 Assigned Tosebastien  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformMicrosoftOSWindowsOS Version11
Product Version5.8.0 
Fixed in Version5.8.1 
Summary0005715: Cannot forward/reply to email with image attachments
Description

I'm using nightly Version 5.8.0 (@sogo-build.alinto.int 202303211742) I have this issue since one week, if I receive an email that contains images as attachments(no matter the size), and I press the forward or reply buttons, nothing happens.

after pressing the buttons, a new draft is created but if I press edit nothing happens

In the console I receive the error:
angular.js:13692 GET https://mail.anekitalia.com/SOGo/so/info@xxxx.com/Mail/0/folderDrafts/newDraft1679482970-1/edit 501

in the sogo.log;
Mar 22 12:04:25 sogod [837]: 192.168.25.79 "GET /SOGo/so/info@xxxx.com/Mail/0/folderINBOX/190518/reply HTTP/1.0" 201 73/0 1.173 - - 19M - 20
2023-03-22 12:04:25.585 sogod[837:837] EXCEPTION: <NSException: 0x55aef8ae8e90> NAME:NSInvalidArgumentException REASON:replaceOccurrencesOfString:withString:options:range: bad search string INFO:(null)
Mar 22 12:04:25 sogod [837]: 192.168.25.79 "GET /SOGo/so/info@xxxx.com/Mail/0/folderDrafts/newDraft1679483064-1/edit HTTP/1.0" 501 0/0 0.221 - - 39M - 20

if I try to forward/reply the same attachment as zipped it will work

Steps To Reproduce

try to reply/forward to an email with image attachments
nothing happens
a new draft is created
try to edit the draft
nothing happens
try to forward the same attachment as zipped and the reply/forward will work

TagsNo tags attached.

Activities

sebastien

sebastien

2023-03-22 13:14

administrator   ~0016753

Hi, would it be possible to provide the eml file ?

Sebastien

sebastien

sebastien

2023-03-22 15:20

administrator   ~0016755

Thanks for reporting the issue. In the mail example, cid is missing. So It will now generate a warning and keep as attachment .

Commit : https://github.com/Alinto/sogo/commit/f5ed10b00cbbdf24a06e90a33c2a7da927584171

I'm have started new nightly build process. it will be available later today

Sebastien

Issue History

Date Modified Username Field Change
2023-03-22 11:09 wassy83 New Issue
2023-03-22 13:14 sebastien Note Added: 0016753
2023-03-22 13:15 sebastien Assigned To => sebastien
2023-03-22 13:15 sebastien Status new => assigned
2023-03-22 15:20 sebastien Note Added: 0016755
2023-03-22 15:20 sebastien Status assigned => resolved
2023-03-22 15:20 sebastien Resolution open => fixed
2023-03-22 15:20 sebastien Fixed in Version => 5.8.1