You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/08/06 13:57:11 UTC

[jira] [Created] (WICKET-5665) WicketTester#assertComponentOnAjaxResponse() cannot test invisible components

Martin Grigorov created WICKET-5665:
---------------------------------------

             Summary: WicketTester#assertComponentOnAjaxResponse() cannot test invisible components
                 Key: WICKET-5665
                 URL: https://issues.apache.org/jira/browse/WICKET-5665
             Project: Wicket
          Issue Type: Task
          Components: wicket
    Affects Versions: 6.16.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov


org.apache.wicket.util.tester.WicketTester#assertComponentOnAjaxResponse(java.lang.String) uses org.apache.wicket.util.tester.BaseWicketTester#getComponentFromLastRenderedPage(java.lang.String, true) to get the component and because of the second parameter being "true" it fails to find it.

It should use "false" to be able to find components with outputMarkupPlaceholder = true too.



--
This message was sent by Atlassian JIRA
(v6.2#6252)