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

ASF subversion and git services commented on WICKET-5097:
---------------------------------------------------------

Commit 915873ea688067418c1c0b95a957c9879184dc69 in wicket's branch 
refs/heads/master from Jan Mewes
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=915873e ]

Remove usage of deprecated method from test example

The method `BaseWicketTester#startComponent(Component)` was removed in Wicket 
7.0.0. See WICKET-5097


> Deprecate BaseWicketTester#startComponent(Component)
> ----------------------------------------------------
>
>                 Key: WICKET-5097
>                 URL: https://issues.apache.org/jira/browse/WICKET-5097
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket
>    Affects Versions: 6.6.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Major
>             Fix For: 6.7.0
>
>
> Initially BaseWicketTester#startComponent(Component) has been introduced to 
> test a component without attaching it to a page (this is what its Javadoc 
> states).
> First it appeared that the tested component is not initialized (fixed with 
> https://issues.apache.org/jira/browse/WICKET-4792). 
> Then https://issues.apache.org/jira/browse/WICKET-4976 - the request cycle 
> and the component itself are not detached at the end. 
> And now a colleague of mine reported me that since WICKET-4976 a test is 
> failing in our app because our custom IRequestCycleListener#onEndRequest() is 
> called but #onBeginRequest() hasn't been called before that. I remember 
> Hielke from Topicus also had this problem for Wiquery 6.6.0.
> BaseWicketTester#startComponent(Component) becomes more and more the same as 
> #startComponentInPage(Component) so it will be deprecated in 6.x series and 
> fully removed with Wicket 7.0.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to