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

Set Application ThreadLocal in WicketSessionFilter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.5
    • 1.4.8, 1.5-M1
    • wicket
    • None

    Description

      WicketSessionFilter currently only sets the Session ThreadLocal, but not the Application ThreadLocale.
      This leads to WicketRuntimeException when trying to get the Application using Application#get or Session#getApplication.
      It would be handy if the Application ThreadLocal would also be set in WicketSessionFilter.

      see also:
      http://old.nabble.com/Application-get-in-WicketSessionFilter-ts27862681.html#a27862681

      Attachments

        1. WICKET-2778.patch
          2 kB
          Jonas

        Activity

          People

            ivaynberg Igor Vaynberg
            jonas Jonas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: