[
https://issues.apache.org/jira/browse/WICKET-5712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse Long resolved WICKET-5712.
--------------------------------
Resolution: Fixed
Fixed in 6.18.0 and 7.0.0-M4, test added.
> SecuritySettings.setEnforceMounts() does not work when the mounted mapper is
> not in the root compound mapper
> ------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-5712
> URL: https://issues.apache.org/jira/browse/WICKET-5712
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.17.0
> Reporter: Jesse Long
> Assignee: Jesse Long
> Priority: Minor
> Fix For: 6.18.0, 7.0.0-M4
>
>
> BookmarkableMapper.isPageMounted() assumes that all mounted mappers are in
> Application.getRootRequestMapperAsCompound(). Sometimes the mappers make a
> tree structure, with multiple compounds existing, sometimes separated by
> wrappers, like HttpsMapper and CryptoMapper.
> Because of this, BookmarkableMapper fails to realise that a page is mounted
> and so does not enforce mounting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)