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

SecuritySettings.setEnforceMounts() does not work when the mounted mapper is not in the root compound mapper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.17.0
    • 6.18.0, 7.0.0-M4
    • wicket
    • None

    Description

      BookmarkableMapper.isPageMounted() assumes that all mounted mappers are in Application.getRootRequestMapperAsCompound(). Sometimes the mappers make a tree structure, with multiple compounds existing, sometimes separated by wrappers, like HttpsMapper and CryptoMapper.

      Because of this, BookmarkableMapper fails to realise that a page is mounted and so does not enforce mounting.

      Attachments

        Issue Links

          Activity

            People

              jesselong Jesse Long
              jesselong Jesse Long
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: