[
https://issues.apache.org/jira/browse/WICKET-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonas updated WICKET-2778:
--------------------------
Attachment: WICKET-2778.patch
I also attached a patch against
https://svn.eu.apache.org/repos/asf/wicket/branches/wicket-1.4.x/wicket
hoping that this will make it into the next release...?
> Set Application ThreadLocal in WicketSessionFilter
> --------------------------------------------------
>
> Key: WICKET-2778
> URL: https://issues.apache.org/jira/browse/WICKET-2778
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4.5
> Reporter: Jonas
> Priority: Minor
> Fix For: 1.4.8
>
> Attachments: WICKET-2778.patch
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.