You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/20 11:15:00 UTC

[jira] [Work logged] (FILEUPLOAD-342) FileUploadBase should not import HttpServletRequest

     [ https://issues.apache.org/jira/browse/FILEUPLOAD-342?focusedWorklogId=640202&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-640202 ]

ASF GitHub Bot logged work on FILEUPLOAD-342:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Aug/21 11:14
            Start Date: 20/Aug/21 11:14
    Worklog Time Spent: 10m 
      Work Description: martin-g opened a new pull request #109:
URL: https://github.com/apache/commons-fileupload/pull/109


   
   
   It should be neutral.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 640202)
    Remaining Estimate: 0h
            Time Spent: 10m

> FileUploadBase should not import HttpServletRequest
> ---------------------------------------------------
>
>                 Key: FILEUPLOAD-342
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-342
>             Project: Commons FileUpload
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Martin Tzvetanov Grigorov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> FileUploadBase has few deprecated methods which use 'javax.servlet.http.HttpServletRequest`.
>  
> This causes class loading problem when using the new Jakarta based `JakSrvltFileUpload.isMultipartContent(jakartaRequest)` because javax.servlet.** in not on the classpath.
>  
> Would it be OK to remove the deprecated methods in 2.0 ?
> The applications should use org.apache.commons.fileupload2.servlet.ServletFileUpload#isMultipartContent() or org.apache.commons.fileupload2.jaksrvlt.JakSrvltFileUpload#isMultipartContent() instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)