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=31658>. 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=31658 LogonAction does not check errors in appropriate place Summary: LogonAction does not check errors in appropriate place Product: Struts Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Example AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The LogonAction (org.apache.struts.webapp.example) of the struts-mailreader (example) application should be checking the ActionErrors returned from the getUser() *before* it calls SaveUser() and not *after*. This results in an unexpected exception being generated; instead of forwarding back to the input page for display of the 'error.password.mismatch' message. The fix is to move the call to SaveUser() after the errors check. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]