You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Oleg Galimov (JIRA)" <ji...@apache.org> on 2013/05/07 11:41:16 UTC

[jira] [Commented] (WICKET-5081) FormTester does not set submitting component.

    [ https://issues.apache.org/jira/browse/WICKET-5081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650661#comment-13650661 ] 

Oleg Galimov commented on WICKET-5081:
--------------------------------------

Test project attached. The last two tests fail although I would expect them to work.
                
> FormTester does not set submitting component.
> ---------------------------------------------
>
>                 Key: WICKET-5081
>                 URL: https://issues.apache.org/jira/browse/WICKET-5081
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.6.0
>            Reporter: Oleg Galimov
>            Priority: Minor
>         Attachments: myproject.zip
>
>
> 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 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira