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=33254>. 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=33254 Summary: unable to specify maximum file size attribute greater than 1GB in struts-config.xml Product: Struts Version: 1.1 Final Platform: Sun OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: File Upload AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The problem is while parsing the maxFileSize attribute during file upload, the value of it is taken into a long variable without appending L in the end. This causes variable to implicitly convert into an int resulting in a negative value. This causes validation to fail for max file size as 0 > -1 and no file gets uploaded. -- 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]
