You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jochen Wiedmann (JIRA)" <ji...@apache.org> on 2009/01/18 03:00:59 UTC

[jira] Resolved: (FILEUPLOAD-157) The ProgressListener isn't always notified about the total number of Items found in a MultipartStream.

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

Jochen Wiedmann resolved FILEUPLOAD-157.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: Jochen Wiedmann

Applied, thank you!

> The ProgressListener isn't always notified about the total number of Items found in a MultipartStream.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FILEUPLOAD-157
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-157
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: All.
>            Reporter: Paul Spurr
>            Assignee: Jochen Wiedmann
>             Fix For: 1.3
>
>         Attachments: MultipartStream-item-listener-notification.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> A ProgressListener doesn't always get informed when a new part is found by the MultipartStream. This is most easily replicated by uploading small files (a few bytes in size). The listener will be correctly informed about the content length and the total bytes uploaded but it will be told that it is currently working on item 0. This causes an issue when this count is used to detect a form has been submitted with no file.
> This has a simple fix to the org.apache.commons.fileupload.MultipartStream (patch will be attached), when the items count is incremented the listener needs to be notified.

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