You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/05/12 07:38:23 UTC

DO NOT REPLY [Bug 19369] - [fileupload] write() method can be invoked only once.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19369>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19369

[fileupload] write() method can be invoked only once.

martinc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From martinc@apache.org  2003-05-12 05:38 -------
I have documented the fact that write() is only guaranteed to succeed the first 
time it is invoked for a given file item. This allows the implementation to use 
file renaming, or an equivalent, while the only restriction is that the item 
cannot be written more than once, which is not a likely requirement in any case.

There really isn't a viable alternative to this restriction without imposing 
the requirement that the data always be copied by write(), which itself could 
impose a significant performance penalty on implementations.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org