Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5490

AuthenticatedWebApplication#onUnauthorizedPage() should work with Component, not Page

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.13.0, 7.0.0-M1
    • Fix Version/s: 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              mgrigorov Martin Tzvetanov Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: