[
https://issues.apache.org/jira/browse/WW-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Link Qian updated WW-3924:
--------------------------
Attachment: ngMutipart.patch
Lukasz, sorry to update the ticket until today as I has been busy as bee
recenty. I re-create a patch for the ticket and attach it.
Here are brief:
1, instead of Apache commons fileupload stream API to implements Multipart and
MultipartHandler.
2, add 3 test for NgFileUploadInterceptorTest
3, make sure all file has ASF license 2.0
4, add struts.multipart.ngSupport config entry in default.properties
5, inject struts.multipart.ngSupport config entry to Dispatcher.java and modify
the wrapRequest(...) and cleanUp() method.
6, add bean config of MultipartHandler in struts-default.xml
> refactor file upload framework
> ------------------------------
>
> Key: WW-3924
> URL: https://issues.apache.org/jira/browse/WW-3924
> Project: Struts 2
> Issue Type: Improvement
> Components: "New" API, Integration
> Affects Versions: 2.3.7
> Environment: HTTP, RFC 1867, form-based upload.
> Reporter: Link Qian
> Labels: features, patch
> Fix For: 2.3.9
>
> Attachments: ngMutipart.patch
>
> Original Estimate: 504h
> Remaining Estimate: 504h
>
> refactor current file upload framework in Struts2, the goals are:
> 1, compatible with current file upload API in Struts2.
> 2, enable file upload framework to integration with form-based upload
> components easily.
> 3, enable user to use stream/memory parsing model beyond temporary file
> parsing model.
> 4, testing
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira