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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.6.0
    • 6.9.0, 7.0.0-M1
    • wicket
    • 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.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: