GitHub user victorsosa opened a pull request:
https://github.com/apache/struts/pull/80
WW-4456 Got NPE when File Upload Limitation exceeds in portal env
HI Lukasz,
This is a proposal to fix WW-4456 - Got NPE when File Upload Limitation
exceeds in portal env.
We should catch in any case a FileUploadException, then try to cast down if
we want any info about the exception. Valid subtype of FileUploadException:
InvalidContentTypeException
IOFileUploadException
SizeLimitExceededException
FileSizeLimitExceededException
I couldn't get the complete test on a running test env, because I had
issues getting the logging to work.
But it seems to works.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/victorsosa/struts ww-4456
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/struts/pull/80.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #80
----
commit c167d6c855f9f3f5863d8fa20ab45aa28cb77486
Author: victor sosa <[email protected]>
Date: 2016-01-19T12:25:29Z
Merge pull request #1 from apache/master
update pull
commit bc8d37464756bf821acae003c6a140af6dcbaf09
Author: Victor Sosa <[email protected]>
Date: 2016-01-19T12:54:15Z
WW-4456 - Got NPE when File Upload Limitation exceeds in portal env.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]