Wicket
  1. Wicket
  2. WICKET-35

WicketTester doesn't pass PageParameters to bookmarkable pages

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0 branch (discontinued), 1.2.2, 1.2.3
    • Component/s: wicket
    • Labels:
      None

      Description

      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).

        Activity

        Dmitry Kandalov created issue -
        Frank Bille Jensen made changes -
        Field Original Value New Value
        Assignee Frank Bille Jensen [ frankbille ]
        Hide
        Frank Bille Jensen added a comment -

        confirmed

        Show
        Frank Bille Jensen added a comment - confirmed
        Frank Bille Jensen made changes -
        Component/s wicket [ 12311420 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.2.4 [ 12312138 ]
        Affects Version/s 2.0 [ 12312113 ]
        Fix Version/s 2.0 [ 12312113 ]
        Hide
        Frank Bille Jensen added a comment -

        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

        Show
        Frank Bille Jensen added a comment - 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 made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Frank Bille Jensen added a comment -

        Fix confirmed by reporter.

        Show
        Frank Bille Jensen added a comment - Fix confirmed by reporter.
        Frank Bille Jensen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3h 43m 1 Frank Bille Jensen 04/Nov/06 22:13
        Resolved Resolved Closed Closed
        13h 2m 1 Frank Bille Jensen 05/Nov/06 11:16

          People

          • Assignee:
            Frank Bille Jensen
            Reporter:
            Dmitry Kandalov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development