You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading a hidden file from a UNIX system -- that is, a file that starts with a dot (.) -- an exception is thrown from within AttachmentableService.
The Exception is caused by an invalid instance of the type Attachmentable: The file name is missing. Apache Commons FilenameUtils is used by AttachmentableService to retrieve the basename of the file. Unfortunately, this does not work for hidden files; getBaseName just returns an empty String, because it thinks the dot introduces the file extension.
If there is a workaround for this issue, I will be happy to use it.
The text was updated successfully, but these errors were encountered:
When uploading a hidden file from a UNIX system -- that is, a file that starts with a dot (
.
) -- an exception is thrown from withinAttachmentableService
.The Exception is caused by an invalid instance of the type
Attachmentable
: The file name is missing. Apache CommonsFilenameUtils
is used by AttachmentableService to retrieve the basename of the file. Unfortunately, this does not work for hidden files;getBaseName
just returns an empty String, because it thinks the dot introduces the file extension.If there is a workaround for this issue, I will be happy to use it.
The text was updated successfully, but these errors were encountered: