[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-965) fileUpload component should delete temporary files

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Fri Mar 9 01:38:27 EST 2007

     [ http://jira.jboss.com/jira/browse/JBSEAM-965?page=all ]

Shane Bryzak closed JBSEAM-965.

    Resolution: Done

Fixed.  Files are now delete for both InputStream and byte[] value bindings.

> fileUpload component should delete temporary files
> --------------------------------------------------
>                 Key: JBSEAM-965
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-965
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: JSF
>    Affects Versions: 1.2.0.GA
>         Environment: Windows XP, Java 1.5
>            Reporter: Leo Baschy
>         Assigned To: Shane Bryzak
>             Fix For: 1.2.1.GA
>         Attachments: MultipartRequest.java.patch
> If configured to write to temporary files then Seam fileUpload component marks them for delete on exit from JVM.  Until then they accumulate (in the usual temporary directory), for each upload, as long as the server is running.  The application developer only has the InputStream, which doesn't allow file deletion.  The application developer can call close() for the InputStream, but that doesn't delete the file.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list