s:token tag allows submit after displaying validation error
-----------------------------------------------------------
Key: SHALE-177
URL: http://issues.apache.org/struts/browse/SHALE-177
Project: Shale
Type: Bug
Components: Core
Versions: 1.0.3
Environment: Windows XP, Tomcat 5.5, Myfaces 1.1.1 + Facelets 1.1.2, shale
core 1.0.3-SNAPSHOT (shale-framework-20060514.zip)
Reporter: Veit Guna
I'm using the s:token tag in a jsf form to avoid double form submits. It works
well so far. When the form is submitted and you go "back" to the form and
try to submit it again, the token tag adds the error msg "Invalid resubmit of
the same form" to the messages and stays on the form.
But now, when you click submit _again_ - ignoring the message - it successfully
submits the form! I assume this is a bug. Since it shouldn't render a new token
when the validation msg is shown. It should keep the "old" one to avoid
re-submition.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira