You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/05/16 17:59:16 UTC

[jira] [Resolved] (WICKET-5192) Get rid of commons-fileupload classes and use javax.servlet.http.HttpServletRequest#getPart() instead

     [ https://issues.apache.org/jira/browse/WICKET-5192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5192.
-------------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 7.0.0)
         Assignee: Martin Grigorov

This won't work well.
The new Servlet 3.0 API does not provide means to follow the progress of the upload, this will break UploadProgressBar component.
Additionally commons-fileupload provides a cleaner that removes any files written on the file system. This functionality is not provided for free in Servlet 3.0 web containers.

I see that there is a new release of commons-fileupload library but until there are reported issues with this code I see no reason to update our copies.
                
> Get rid of commons-fileupload classes and use javax.servlet.http.HttpServletRequest#getPart() instead
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5192
>                 URL: https://issues.apache.org/jira/browse/WICKET-5192
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket
>    Affects Versions: 7.0.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Minor
>
> Servlet 3.0 provides APIs for reading file uploads: javax.servlet.http.HttpServletRequest#getPart().
> We can remove the copy/pasted classes from Apache Commons FileUpload (many classes in wicket-util -> org.apache.wicket.util.upload)

--
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