Wicket
  1. Wicket
  2. WICKET-5056

Page mount with an optional named parameter overtakes a mount with more specific path

    Details

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

      Description

      See the discussion in http://markmail.org/thread/sgpiku27ah2tmcim

      Having:
      mountPage("/all/sindex",Page1.class);
      mountPage("/all/#

      {exp}

      ", Page2.class);

      Request to /all/sindex will be handled by Page2.

      Compatibility score for optional parameters should be lower than mandatory parameters which should be lower than exact value.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development