Enonic version: 6.10.1
OS: Linux
Hello!
We are facing an issue with file uploading. When we upload a file, there is a big error message in logs, which says StackOverflow.
However, I have tried another files, which had much more data in them and it was uploaded successfully with no errors.
We are using a part for uploading files. Here is it’s code:
<part> <display-name>Attachment</display-name> <config> <input type="AttachmentUploader" name="ATTACHMENT"> <label>File</label> <occurrences minimum="1" maximum="1"/> </input> <input type="TextLine" name="ATTACHMENT_TITLE"> <label>Title</label> <occurrences minimum="1" maximum="1"/> </input> <input name="ATTACHMENT_TEXT" type="TextArea"> <label>Description</label> <occurrences minimum="0" maximum="1"/> </input> </config> </part>
Here you may find the file with error from the logs and the file, which does an error on upload:
https://drive.google.com/drive/folders/0B2F9xvn_Q13VZ3J3TWZPSHBnVmM?usp=sharing
Thanks!