Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06E2CE971 for ; Sun, 13 Jan 2013 13:32:14 +0000 (UTC) Received: (qmail 44783 invoked by uid 500); 13 Jan 2013 13:32:13 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 44756 invoked by uid 500); 13 Jan 2013 13:32:13 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 44727 invoked by uid 99); 13 Jan 2013 13:32:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2013 13:32:12 +0000 Date: Sun, 13 Jan 2013 13:32:12 +0000 (UTC) From: "Link Qian (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-3924) refactor file upload framework MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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