View Issue Details

IDProjectCategoryView StatusLast Update
0004399SOGoWeb Mailpublic2018-04-27 17:06
ReporterASolana Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
OSUbuntuOS Version16.04 
Product Version3.2.10 
Summary0004399: Files named with a some punctuated capital letter cannot been attached to a message
Description

Files named with a some punctuated capital letter cannot been attached to a message and return error message

"Error while uploading the file "aa_aaaa_ÁAAA.txt":

After this error no more files can be attached to edited messages.

It's necessary saved edited message as draft, then edit this draft in order to attach other files.

Steps To Reproduce

We have these files

5 feb 9 18:22 aa_aaaa_AAAA.txt
5 feb 9 18:23 aa_aaaá_AAAA.txt
5 feb 9 18:23 aa_aaaa_ÄAAA.txt ==> bad
5 feb 9 18:23 aa_aaaa_ÁAAA.txt
5 feb 9 18:23 aa_aaaä_AAAA.txt ==> bad
5 feb 9 18:23 AA_AAAA_AAAA.txt
5 feb 9 18:23 AA_AAAA_ÁAAA.txt ==> bad

  1. Try to attach a file named Error while uploading the file mamed "aa_aaaa_ÁAAA.txt"

  2. Sogo log files shows:

Feb 09 18:27:55 sogod [65282]: |SOGo| starting method 'POST' on uri '/SOGo/so/usuari.ana/Mail/0/folderDrafts/newDraft1518197230-1/save'

Feb 09 18:27:55 sogod [65282]: [WARN] <0x0x55a9e9569940[SOGoUserDefaults]> expected an NSString for 'SOGoMailComposeFontSize' (ignored)
Feb 09 18:27:55 sogod [65282]: [ERROR] <0x55a9e9728fe0[SOGoDraftObject]:newDraft1518197230-1> did not find attachment: ''
Feb 09 18:27:55 sogod [65282]: [ERROR] <0x55a9e9728fe0[SOGoDraftObject]:newDraft1518197230-1> did not find attachment: ''
Feb 09 18:27:55 sogod [65282]: [ERROR] <0x55a9e9728fe0[SOGoDraftObject]:newDraft1518197230-1> did not find attachment: ''
2018-02-09 18:27:55.844 sogod[65282] EXCEPTION: <NSException: 0x55a9e9800db0> NAME:NSInvalidArgumentException REASON:Tried to add nil to array INFO:(null)
Feb 09 18:27:55 sogod [65282]: |SOGo| request took 0.223194 seconds to execute
Feb 09 18:27:55 sogod [65282]: 10.4.198.78, 10.4.206.31 "POST /SOGo/so/usuari.ana/Mail/0/folderDrafts/newDraft1518197230-1/save HTTP/1.1" 501 0/1155 0.224 - - 0

  1. Temporal folder shows other attachments (lowercase punctuated file names have no issues, just an interrogation char is used on saved file on disk):

root@sybill1pre:/var/log/sogo# ls -altr /Correu_tmp/spool/sogo/usuari.ana/newDraft1518197230-1
total 120
-rw-r--r-- 1 sogo sogo 7 Feb 9 18:27 aa_aaaa_aaaa.txt
-rw-r--r-- 1 sogo sogo 10 Feb 9 18:27 .aa_aaaa_aaaa.txt.mime
-rw-r--r-- 1 sogo sogo 6 Feb 9 18:27 aa_aaaa_AAAA.txt
-rw-r--r-- 1 sogo sogo 10 Feb 9 18:27 .aa_aaaa_AAAA.txt.mime
-rw-r--r-- 1 sogo sogo 6 Feb 9 18:27 aa_aaa??_AAAA.txt
-rw-r--r-- 1 sogo sogo 10 Feb 9 18:27 .aa_aaa??_AAAA.txt.mime
-rw-r--r-- 1 sogo sogo 5 Feb 9 18:27 aa_aaa??_AAAA.txt
-rw-r--r-- 1 sogo sogo 10 Feb 9 18:27 .aa_aaa??_AAAA.txt.mime
-rw-r--r-- 1 sogo sogo 287 Feb 9 18:27 .info.plist
drwxr-xr-x 2 sogo sogo 2048 Feb 9 18:27 .
drwxr-xr-x 19 sogo sogo 1024 Feb 9 18:28 ..
root@sybill1pre:/var/log/sogo#

TagsNo tags attached.

Activities

francis

francis

2018-02-19 20:20

administrator   ~0012614

Can you reproduce this problem with the latest nightly build?

ASolana

ASolana

2018-04-24 14:55

reporter   ~0012853

I've not been able to reproduce this problem with SOGo 4.0.0 installed on a test server.

So, we are planning to upgrade to SOGo 4.0.0 our 3.2.10 production server.

Issue History

Date Modified Username Field Change
2018-02-09 18:08 ASolana New Issue
2018-02-19 20:20 francis Note Added: 0012614
2018-04-24 14:55 ASolana Note Added: 0012853
2018-04-27 17:06 ludovic Status new => resolved
2018-04-27 17:06 ludovic Resolution open => no change required
2018-04-27 17:06 ludovic Assigned To => ludovic