Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5425

WicketTester doesn't preserve the request cookies when #executeListener() is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.12.0
    • 6.13.0, 7.0.0-M1
    • wicket
    • None

    Description

      org.apache.wicket.util.tester.BaseWicketTester#executeListener(org.apache.wicket.Component, org.apache.wicket.RequestListenerInterface) creates a new new MockHttpServletRequest but doesn't do the cookie management as in org.apache.wicket.util.tester.BaseWicketTester#setupNextRequestCycle() (the only other place where a new MockHttpServletRequest is created).

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: