You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (JIRA)" <ji...@apache.org> on 2009/02/09 01:36:59 UTC

[jira] Created: (SLING-854) Can not upload multiple files in a single form post

Can not upload multiple files in a single form post
---------------------------------------------------

                 Key: SLING-854
                 URL: https://issues.apache.org/jira/browse/SLING-854
             Project: Sling
          Issue Type: Bug
          Components: Servlets Post
    Affects Versions: Servlets Post 2.0.2
         Environment: any
            Reporter: Eric Norman


If a form contains multiple file input controls, only the first uploaded file is processed by the SlingFileUploadHandler.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-854) Can not upload multiple files in a single form post

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved SLING-854.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:  Commons Testing 2.0.4
                   Servlets Post 2.0.4

Thanks for supplying this patch. I have applied it in Rev. 742907 and the integration tests run successfully.

Please close this issue if it works for you, too.

> Can not upload multiple files in a single form post
> ---------------------------------------------------
>
>                 Key: SLING-854
>                 URL: https://issues.apache.org/jira/browse/SLING-854
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets Post
>    Affects Versions: Servlets Post 2.0.2
>         Environment: any
>            Reporter: Eric Norman
>            Assignee: Felix Meschberger
>             Fix For: Servlets Post 2.0.4,  Commons Testing 2.0.4
>
>         Attachments: SlingFileUploadHandler.java.patch, SlingIntegrationTestClient.java.patch, UploadFileTest.java.patch
>
>
> If a form contains multiple file input controls, only the first uploaded file is processed by the SlingFileUploadHandler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-854) Can not upload multiple files in a single form post

Posted by "Eric Norman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman updated SLING-854:
------------------------------

    Attachment: UploadFileTest.java.patch

Patch to launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/UploadFileTest.java to unit test the fix

> Can not upload multiple files in a single form post
> ---------------------------------------------------
>
>                 Key: SLING-854
>                 URL: https://issues.apache.org/jira/browse/SLING-854
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets Post
>    Affects Versions: Servlets Post 2.0.2
>         Environment: any
>            Reporter: Eric Norman
>         Attachments: SlingFileUploadHandler.java.patch, UploadFileTest.java.patch
>
>
> If a form contains multiple file input controls, only the first uploaded file is processed by the SlingFileUploadHandler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-854) Can not upload multiple files in a single form post

Posted by "Eric Norman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman updated SLING-854:
------------------------------

    Attachment: SlingIntegrationTestClient.java.patch

Patch to commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java to add a method to enable testing of tests that upload multiple files.

> Can not upload multiple files in a single form post
> ---------------------------------------------------
>
>                 Key: SLING-854
>                 URL: https://issues.apache.org/jira/browse/SLING-854
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets Post
>    Affects Versions: Servlets Post 2.0.2
>         Environment: any
>            Reporter: Eric Norman
>         Attachments: SlingFileUploadHandler.java.patch, SlingIntegrationTestClient.java.patch, UploadFileTest.java.patch
>
>
> If a form contains multiple file input controls, only the first uploaded file is processed by the SlingFileUploadHandler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-854) Can not upload multiple files in a single form post

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned SLING-854:
---------------------------------------

    Assignee: Felix Meschberger

> Can not upload multiple files in a single form post
> ---------------------------------------------------
>
>                 Key: SLING-854
>                 URL: https://issues.apache.org/jira/browse/SLING-854
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets Post
>    Affects Versions: Servlets Post 2.0.2
>         Environment: any
>            Reporter: Eric Norman
>            Assignee: Felix Meschberger
>         Attachments: SlingFileUploadHandler.java.patch, SlingIntegrationTestClient.java.patch, UploadFileTest.java.patch
>
>
> If a form contains multiple file input controls, only the first uploaded file is processed by the SlingFileUploadHandler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-854) Can not upload multiple files in a single form post

Posted by "Eric Norman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman updated SLING-854:
------------------------------

    Attachment: SlingFileUploadHandler.java.patch

Proposed fix for servlets/post/src/main/java/org/apache/sling/servlets/post/impl/helper/SlingFileUploadHandler.java

> Can not upload multiple files in a single form post
> ---------------------------------------------------
>
>                 Key: SLING-854
>                 URL: https://issues.apache.org/jira/browse/SLING-854
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets Post
>    Affects Versions: Servlets Post 2.0.2
>         Environment: any
>            Reporter: Eric Norman
>         Attachments: SlingFileUploadHandler.java.patch, UploadFileTest.java.patch
>
>
> If a form contains multiple file input controls, only the first uploaded file is processed by the SlingFileUploadHandler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-854) Can not upload multiple files in a single form post

Posted by "Eric Norman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Norman closed SLING-854.
-----------------------------


looks good.  thanks.

> Can not upload multiple files in a single form post
> ---------------------------------------------------
>
>                 Key: SLING-854
>                 URL: https://issues.apache.org/jira/browse/SLING-854
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets Post
>    Affects Versions: Servlets Post 2.0.2
>         Environment: any
>            Reporter: Eric Norman
>            Assignee: Felix Meschberger
>             Fix For: Servlets Post 2.0.4,  Commons Testing 2.0.4
>
>         Attachments: SlingFileUploadHandler.java.patch, SlingIntegrationTestClient.java.patch, UploadFileTest.java.patch
>
>
> If a form contains multiple file input controls, only the first uploaded file is processed by the SlingFileUploadHandler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.