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=33630>. 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=33630 Summary: FormBean support simple type Formats like 'int' and 'long' handled incorrectly Product: Struts Version: 1.2.4 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: major Priority: P2 Component: Unknown AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] A FormBean containing properties of type 'int' or 'long' are incorrectly parsed or handled. If a jsp page contains a text field mapped to the formbean int property and the user enters a string (e.g. "AB"), struts tries to convert this value to an int, fails and then puts in the default value. This leads to incorrect handling of data. Instead, an error or exception should be thrown to indicate that the value is not of type int or long. -- 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]