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

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.17.0
    • Fix Version/s: 6.18.0, 7.0.0-M4
    • Component/s: wicket
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: