Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4400

form parameters which should be submitted using POST are added to url after first display of feedback messages

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.0.0-beta1
    • Fix Version/s: None
    • Component/s: wicket
    • Environment:
      6.0 trunk, OS X, Chrome

      Description

      this bug is really weird...

      quickest way to reproduce is do the following:

      $> cd /wicket/wicket-examples
      $> mvn jetty:run

      • click the 'forminput - Basic form processing.' example
      • click 'save'

      (notice that there will be a feedback message displayed below)

      • click 'save' again

      the url will look like this:
      http://localhost:8080/forminput/?4&doubleProperty=20.5&idc_hf_0&integerProperty=100&saveButton=save&stringProperty=test&localeSelect=0&multiply:right=0&lines:1:lineEdit=line+two&multiply:left=0&lines:2:lineEdit=line+three&numberRadioChoice=0&lines:0:lineEdit=line+one&urlProperty=http://wicket.apache.org&integerInRangeProperty=50&phoneNumberUS=%28123%29+456-1234

      Obviously the result from getting the POST parameters being added to the url

      I also did a small quickstart example with a similar result...

      My current summary is:

      Once a feedback message is displayed the url will look get spoiled on the subsequent request.

      I consider this a blocker as this should actually crash all apps urls that use a form and feedback messages and there's no obvious workaround...

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              pete Peter Ertl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: