Page 1 sur 1

Upload Files - Whitelist

Publié : ven. janv. 16, 2015 1:54 pm
par msr
Hello,

i want to change the attachment settings and extend the supported formats [like described in the installation guide 4.02].

Opened :
org.squashtest.csp.tm.web.uploadfilter.config.properties

and edited:
uploadfilter.fileExtensions.whitelist=txt, doc, xls, ppt, docx, xlsx, pptx, odt, ods, odp, pdf, jpg, jpeg, mp3, avi, png, mpg, mpeg, json, mp4, DOC, XLS, PPT, DOCX, XSLX, PPTX, ODT, ODS, ODP, PDF, JPG, JPEG, MP3, AVI, PNG, MPG, MPEG, JSON, MP4

After that I stopped the application over the console (by typing "stop 0") and started it again with the squash-tm launcher. Tried an upload and still getting the message that the format is not supported (for example: picture.png).

Any idea?
Do I need to delete the files in the felix-cache?
Restart the whole windows server?

Thanks in Advance.
Best regards.

Upload Files - Whitelist

Publié : mer. févr. 11, 2015 10:03 am
par Masłek
Hi msr.

We are having the same problem.
Our installation is on a Apache 2 server.

Did you manage to fix it?

Someone please respond.

Upload Files - Whitelist

Publié : mer. févr. 11, 2015 1:04 pm
par msr
Hi,

no sorry. I dont have any solution.
The problem still exists.

Upload Files - Whitelist

Publié : mer. févr. 25, 2015 9:55 am
par Masłek
Hi msr.

We managed to resolve the problem.

The felix-cache folder was not deleted after saving changes to the whitelist.
Delete the folder /var/cache/squash-tm/felix-cache and restart the SquashTM.

Other suggestions from the Squash Team:
[quote]When a user cannot upload atachments, it's usually caused by :
* attachment size is larger than the limit configured in squash tm
* attachment size is larger than the limit configured in mysql
* config file was changed and `squash-tm/felix-cache` folder was not deleted
before squash is restarted.[/quote]

Upload Files - Whitelist

Publié : mer. mai 06, 2015 6:14 pm
par cellard-p
Hi,

It may be trivial to say but, you have to destroy the cache having squashTM shutted down before.

Else, you could experiment some trouble.