Attachments are not working for tickets created by email
Hi there,
Seems I am not the only one that has problems with attachments. For my installation attachments works only if ticket were created directly on the web page; if the ticket were created from an incoming email message then the attachment link inside the ticket view does not work.
I have done a little investigation on this issue and realize that actually the attachment are stored in the attachments dir (/var/www/bcsc/attachments in my case) but the file name lacks the name of the original file attached in the email message. Let me explain:
I have sent an email with an included file (as attachment) called "README.TXT", so the system creates a ticket for me. Unfortunately the attachment directory does not hold the correct name for the file, but only shows and "system identifier" file name:
root@www:/var/www/bcsc/attachments/0210# ls -l
total 32
-rw-r--r-- 1 www-data www-data 433 2010-02-09 23 42109F5B37792C0_
-rw-r--r-- 1 www-data www-data 345 2010-02-09 20 67927FC5DA2BF40_POBLACION.SQL
-rw-r--r-- 1 www-data www-data 15425 2010-02-10 00 7BF510E6FE2D9C0_LICENSE.txt
-rw-r--r-- 1 www-data www-data 3366 2010-02-09 22 8FDA85442FC1780_
-rw-r--r-- 1 www-data www-data 509 2010-02-10 00 CB91148468FE700_
As you can see two files has correct names (XXX_POBLACION.SQL AND XXX_LICENSE.txt), these files were attached in tickets opened from the web site. The other files, does not show its correct names since they lack the original file name at the end of the "system generated" file name.
Any help will be appreciated.
AC