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

FormTester does not set submitting component.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.6.0
    • 6.8.0, 7.0.0-M1
    • wicket
    • None

    Description

      When testing Form#findSubmittingButton() does not behave correctly, because the submitting component is not set in the FormTester. Because of this the behavior in test and at runtime is not the same. This bug is new to Wicket 6. In Wicket 4 the test worked as expected.

      There was some discussion on this topic in this thread: http://apache-wicket.1842946.n4.nabble.com/AjaxRequestAttributes-setSubmittingComponentName-td4655895.html

      Attachments

        1. myproject.zip
          22 kB
          Oleg Galimov

        Activity

          People

            svenmeier Sven Meier
            ogalimov Oleg Galimov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: