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

SignInPanel.onSignInSucceeded call the correct method on IPageFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4-RC3
    • wicket-auth-roles
    • None

    Description

      The onSignInSucceeded method is calling newPage(Class, PageParameters) with PageParameters = null. Instead of this, the call should be changed to use the newPage(Class) method instead.

      setResponsePage(getApplication().getSessionSettings().getPageFactory().newPage(getApplication().getHomePage(), (PageParameters)null));

      should be changed to

      setResponsePage(getApplication().getSessionSettings().getPageFactory().newPage(getApplication().getHomePage()));

      This is releated to WICKET-2092.

      Attachments

        Issue Links

          Activity

            People

              jdonnerstag Juegen Donnerstag
              crashedworld Francois Fernandes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: