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

MockServletContext should define non-null session tracking modes

    XMLWordPrintableJSON

Details

    Description

      Since WICKET-6360 some tests in Wicket Native WebSocket (and also at Wicket Spring Boot Starter) were failing with NullPointerException because MockServletContext#getEffectiveSessionTrackingModes() is returning null.

      It would be better if org.apache.wicket.protocol.http.mock.MockServletContext#getEffectiveSessionTrackingModes() returns a set with cookie mode, because cookie is the most close to real life applications.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: