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 2005/11/27 21:29:02 UTC

DO NOT REPLY [Bug 32785] - [fileupload] FileItem implements Serializable incorrectly

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=32785





------- Additional Comments From martinc@apache.org  2005-11-27 21:29 -------
I believe you are referring to DiskFileItem not being serialisable. I don't see
a way to fix this, as you say, because of the nature of the class. Note that it
is the FileItem interface that is serialisable, but this particular
implementation of that interface cannot be serialised. That doesn't mean that
all implementations will not be serialisable.

As for comment #1, the simple solution is to not store FileItem instances in
your session.

If anyone has any good ideas on how to make DiskFileItem serialisable, please
let me know ASAP. Otherwise I will mark this as WONTFIX.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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