Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Build
-
None
-
Operating System: other
Platform: Other
-
31658
Description
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.