You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Christoph Leiter (JIRA)" <ji...@apache.org> on 2012/09/04 09:43:07 UTC

[jira] [Commented] (WICKET-4737) IllegalStateException on WicketFilter.init() after calling setFilterPath()

    [ https://issues.apache.org/jira/browse/WICKET-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447536#comment-13447536 ] 

Christoph Leiter commented on WICKET-4737:
------------------------------------------

The easiest workaround (until 6.0.1 is released) seems to be to call getWicketFilter().setFilterPath(path) in WebApplication#init.
                
> IllegalStateException on WicketFilter.init() after calling setFilterPath()
> --------------------------------------------------------------------------
>
>                 Key: WICKET-4737
>                 URL: https://issues.apache.org/jira/browse/WICKET-4737
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0
>         Environment: When you pre-configure the filter path using the setFilterPath() method.
>            Reporter: Jesse Long
>            Assignee: Martin Grigorov
>             Fix For: 6.0.1
>
>         Attachments: WICKET-4737.patch
>
>
> WICKET-4626 broke the ability to pre-set the filter path using setFilterPath(). The patch introduced by WICKET-4626 calls setFilterPath() from within WicketFilter.init(), and setFilterPath() throws IllegalStateException if it is called more than once.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira