Issue Details (XML | Word | Printable)

Key: WICKET-35
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Frank Bille Jensen
Reporter: Dmitry Kandalov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Wicket

WicketTester doesn't pass PageParameters to bookmarkable pages

Created: 04/Nov/06 06:30 PM   Updated: 05/Nov/06 11:16 AM
Return to search
Component/s: wicket
Affects Version/s: 1.2.2, 1.2.3, 2.0 branch (discontinued)
Fix Version/s: 1.2.4, 2.0 branch (discontinued)

Time Tracking:
Not Specified

Resolution Date: 04/Nov/06 10:13 PM


 Description  « Hide
I put BookmarkablePageLink on WebPage like this:
firstPage.add( new BookmarkablePageLink( "link", SecondPage.class, new
PageParameters( "id=1" ) ) );

and then I test it using WicketTester:
wicketTester.startPage( FirstPage.class );
wicketTester.clickLink( "link" );

The problem is that wicketTester doesn't pass PageParameters to SecondPage
(because parameters aren't passed to MockHttpServletRequest).

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Frank Bille Jensen added a comment - 04/Nov/06 09:23 PM
confirmed

Frank Bille Jensen added a comment - 04/Nov/06 10:13 PM
Fixes are in the 1.x branch and 2.0. Can you please confirm them and then close this issue?

1.x: http://svn.apache.org/viewvc?view=rev&revision=471275
2.0: http://svn.apache.org/viewvc?view=rev&revision=471276

Frank Bille Jensen added a comment - 05/Nov/06 11:16 AM
Fix confirmed by reporter.