Attachment are losing the extension when name contains dots
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 02:02 AM
Hello all,
I'm having a problem with the attachments losing their extension. This happens when there are dots in the file name (e.g. "TEST ATACHMENT 02.2024.pdf")
Initialy it looks fine:
But as soon as you refresh the file already lost the extension.
This is somehow fine for pdf, because it maintains the extension on the Content Type field in the sys_attachment table.
But for other file types like excel it completely brokes it:
Is there any way to prevent this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 03:51 AM
Hi @Nicol_s2, I've tried to replicate the same issue on my Washington PDI, and it looks fine:
Moreover, the content_type is also preserved correctly in all these cases:
Can you be more specific as to what you mean by "losing" the extension? Do those files' names actually change in your instance?
Please mark this response as useful and the question as solved if the issue has been solved. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 03:57 AM
Actually I just found the issue. This is not an OOB problem.
It seems that an old customization intended to prevent duplicates was malfunctioning.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2024 03:59 AM
I see. I'm glad you've been able to establish the root cause. Have a nice day!