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

MockWebApplication initializes application twice

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0 branch (discontinued)
    • wicket
    • None

    Description

      To be convinced, try to use mountBookmarkablePage() in the init() method of your application. That will fail because application is already initialized by WicketFilter. See attached patch.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jbq Jean-Baptiste Quenot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment