Issue Details (XML | Word | Printable)

Key: SHALE-177
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig McClanahan
Reporter: Veit Guna
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Shale

s:token tag allows submit after displaying validation error

Created: 15/May/06 02:33 AM   Updated: 21/Aug/06 11:28 PM
Return to search
Component/s: Core
Affects Version/s: 1.0.3-SNAPSHOT
Fix Version/s: 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)


 Description  « Hide
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.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig McClanahan made changes - 23/May/06 08:58 AM
Field Original Value New Value
Assignee Craig McClanahan [ craigmcc ]
Craig McClanahan made changes - 23/May/06 09:02 AM
Resolution Fixed [ 1 ]
Fix Version/s 1.0.3 [ 21714 ]
Status Open [ 1 ] Resolved [ 5 ]
sean schofield made changes - 21/Aug/06 11:28 PM
Fix Version/s 1.0.3 [ 21750 ]
Fix Version/s 1.0.3-SNAPSHOT [ 21714 ]
Jeff Turner made changes - 09/Aug/07 07:16 AM
Workflow Struts [ 38376 ] Struts - editable closed status [ 42046 ]
Antonio Petrelli made changes - 08/Jan/09 08:57 AM
Workflow Struts - editable closed status [ 42046 ] Struts - editable closed status (temporary) [ 46165 ]
Antonio Petrelli made changes - 08/Jan/09 09:08 AM
Workflow Struts - editable closed status (temporary) [ 46165 ] Struts - editable closed status [ 52822 ]