Support Article
Error on attaching files with lengthy file names
Summary
The Max Length for the Attach File drag and drop selector defaults to 59. File names of user files are lengthy and an error occurs on attaching them.
Error Messages
176[391407,eon_id=56704][ ][ ][ ](web.impl.WebStandardImpl) ERROR - <IP>: Unhandled error in ETier invocation
pub.PRRuntimeException: Filename's too long for Operating system to store. Please use a shorter filename.
at web.fileupload.MultipartRequest.getOutputStream(MultipartRequest.java:255) ~[prwebj2ee.jar:?]
at web.fileupload.MultipartRequest.<init>(MultipartRequest.java:230) ~[prwebj2ee.jar:?]
at web.impl.FileUploadHandler.uploadFile(FileUploadHandler.java:131) ~[prwebj2ee.jar:?]
at web.impl.FileUploadHandler.upload(FileUploadHandler.java:76) ~[prwebj2ee.jar:?]
at web.impl.HttpUtilities.extractRequest(HttpUtilities.java:234) ~[prwebj2ee.jar:?]
at web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:631) ~[prwebj2ee.jar:?]
at web.impl.WebStandardImpl.doPost(WebStandardImpl.java:398)~[prwebj2
Steps to Reproduce
Attach a file name which contains more than 59 characters.
Root Cause
A validation which is imposed for the pyNote property of Embed-DragDropFile class causes the attachments to fail when the length is more than 59 characters.
Resolution
Perform the following local-change:
Change the validation of Max Length to 200 under Advanced tab of pyNote property of the Embed-DragDropFile validations.
Published October 12, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.