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

StatelessForm problems with query string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-M3
    • 1.3.7, 1.4-RC5
    • None
    • None

    Description

      I made a small application to reproduce the problem, please see the attachment.
      Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j

      First problem:

      Steps to reproduce:
      1. Run the test.Start class
      2. Open http://localhost:8080 in a browser
      3. Type something in the text field, then click submit several times

      Result:
      The query string is growing every time

      Second problem:

      Steps to reproduce:
      1,2: Same as above
      3. Don't type anything in the text field, then click submit several times

      Result:
      Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)

      Third problem:

      Steps to reproduce:
      1,2: Same as above
      3. Don't type anything in the text field, then click submit once
      4. Type something in the text field, then click submit several times

      Result:
      A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

      Attachments

        1. Form.patch
          1 kB
          martin kovacik
        2. wickettest-1912.zip
          2 kB
          Adrian Sándor

        Issue Links

          Activity

            People

              knopp Matej Knopp
              aditsu Adrian Sándor
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: