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=38163>. 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=38163 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Component|File Upload |Action Product|Commons |Struts Version|unspecified |Unknown ------- Additional Comments From [EMAIL PROTECTED] 2006-01-06 19:10 ------- The Blackberry isn't even trying to upload the file. It's sending the name of the file as if it were a regular text field. This is extremely lame. It's also not something I'm particularly interested in fixing. Note that the problem is not in Commons FileUpload at all. It did its job. The exception is happening when Struts calls Commons BeanUtils to populate your form bean, and there is a mismatch when BeanUtils tries to convert the string that the Blackberry sent into a FileItem, which of course isn't possible. It is conceivable that a special-purpose BeanUtils Converter could be written that takes a string and returns a FileItem (or null). That would avoid the exception. The problem is that now there is no way that your application could detect that someone had used a lame-o Blackberry that didn't send the file it was supposed to send. You'd only know that no file was sent, and not whether or not that was the user's intent. I'm leaving this open and reassigning to Struts in case someone else wants to do something about this, but I expect that it will probably end up being closed as invalid. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
