You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/10/01 22:38:16 UTC

DO NOT REPLY [Bug 11401] - upload bug

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=11401>.
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=11401

upload bug

peter.nuetzel@inglobo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From peter.nuetzel@inglobo.de  2002-10-01 20:38 -------
the current toString() method of FilePartFile only returns the file name.
MaybeUpload used to return the whole path (via File.toString()). So a more
compatible way is using File.toString() in FilePartFile.toString() (patch follows).

additional comment:

I find the method getFilePath() in FilePart quite irritating cause it doesn't
return the file path of the uploaded file. Instead it returns the filename which
was transmitted by the user agent (which may be the original path if uploaded
with IE or only the original filename if uploaded with Moz).
A more intuitive name for this method would be: getOriginalFileName()

-peter

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org