[
https://issues.apache.org/jira/browse/WICKET-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-5490.
-------------------------------------
Resolution: Fixed
Fix Version/s: 7.0.0
> AuthenticatedWebApplication#onUnauthorizedPage() should work with Component,
> not Page
> -------------------------------------------------------------------------------------
>
> Key: WICKET-5490
> URL: https://issues.apache.org/jira/browse/WICKET-5490
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.13.0, 7.0.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 7.0.0
>
>
> As discussed at http://markmail.org/message/o2ayjxt7vb7dyjvf
> org.apache.wicket.authroles.authentication.AuthenticatedWebApplication#onUnauthorizedPage()
> should have a parameter with type 'Component', not 'Page' because this Page
> is partially constructed - on the constructor of org.apache.wicket.Component
> is executed.
> All other super constructors (e.g. MarkupContainer, Page, WebPage, YourPage)
> are not.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)