You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/08/30 11:43:09 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=13444833#comment-13444833 ] 

Martin Grigorov commented on WICKET-4737:
-----------------------------------------

Can't you use org.apache.wicket.protocol.http.WicketFilter#FILTER_MAPPING_PARAM ?
I.e. an <init-param><param-name>filterMappingUrlPattern</param-name><param-value>yours</param-value></init-param>
                
> 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
>
> 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