Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error on attaching files with lengthy file names

SA-90847

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us