You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2006/05/23 04:03:16 UTC
[jira] Resolved: (SHALE-177) s:token tag allows submit after
displaying validation error
[ http://issues.apache.org/struts/browse/SHALE-177?page=all ]
Craig McClanahan resolved SHALE-177:
------------------------------------
Fix Version: 1.0.3
Resolution: Fixed
Yes, that is certainly broken. Fixed in nightly build 20060523, and will be fixed in upcoming release 1.0.3 or later.
> 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
> Assignee: Craig McClanahan
> Fix For: 1.0.3
>
> 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