Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-177

s:token tag allows submit after displaying validation error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.3-SNAPSHOT
    • 1.0.3
    • Core
    • None
    • Windows XP, Tomcat 5.5, Myfaces 1.1.1 + Facelets 1.1.2, shale core 1.0.3-SNAPSHOT (shale-framework-20060514.zip)

    Description

      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.

      Attachments

        Activity

          People

            craigmcc Craig R. McClanahan
            vguna Veit Guna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: