SOGo | BTS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004399SOGoWeb Mailpublic2018-02-09 13:082018-02-19 15:20
ReporterASolana 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSUbuntuOS Version16.04
Product Version3.2.10 
Target VersionFixed in Version 
Summary0004399: Files named with a some punctuated capital letter cannot been attached to a message
DescriptionFiles 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 ReproduceWe 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


3. 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.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0012614)
francis (administrator)
2018-02-19 15:20

Can you reproduce this problem with the latest nightly build?

- Issue History
Date Modified Username Field Change
2018-02-09 13:08 ASolana New Issue
2018-02-19 15:20 francis Note Added: 0012614


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker