Martin Grigorov created WICKET-5490:
---------------------------------------
Summary: 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
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)