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

WicketTester does not preserve the form component values when submitting with AjaxSubmitLink

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-M2.1
    • 1.5-M3
    • wicket
    • None

    Description

      See this thread:
      http://apache-wicket.1842946.n4.nabble.com/Url-parameters-removed-onClick-wrong-url-encoding-td2541831.html

      Again you can take a legup project (with Guice 2.0) and substitute the wicket versions -> the test

      tester.assertModelValue("text", "sayHello");

      will fail: expected:<sayHello> but was:<Hello null>

      Attachments

        1. wicket-bug2-setter-injection.zip
          14 kB
          Peter Karich
        2. wicket-bug2.zip
          14 kB
          Peter Karich
        3. WICKET-3053.patch
          9 kB
          Martin Tzvetanov Grigorov

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            peathal Peter Karich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: