Re: Issue with jakarta-stream multipart parser

2016-01-07 Thread Stephen H
On 07/01/2016 09:42, Christoph Nenning wrote: Please create a jira issue for that. I see one was done yesterday along with a fix, also resolving the related issue when a file field in a form is empty. https://issues.apache.org/jira/browse/WW-4583

Re: Issue with jakarta-stream multipart parser

2016-01-05 Thread Stephen H
The error message comes from the IllegalArgumentException thrown by java.io.File.createTempFile() - it doesn't feature in the Struts distribution at all. Because there's no entry in struts-messages.properties for struts.messages.upload.error.IllegalArgumentException it gets added to the errors

Issue with jakarta-stream multipart parser

2016-01-05 Thread Stephen H
I'm having a problem using the jakarta-stream multipart parser when a filename is used that is just a single character long excluding the suffix. This triggers a check in java.io.File.createTempFile that ensures that a supplied prefix must be at least three characters long: java.lang.IllegalAr