You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/02/26 10:58:13 UTC

[jira] [Created] (WICKET-5056) Page mount with an optional named parameter overtakes a mount with more specific path

Martin Grigorov created WICKET-5056:
---------------------------------------

             Summary: Page mount with an optional named parameter overtakes a mount with more specific path
                 Key: WICKET-5056
                 URL: https://issues.apache.org/jira/browse/WICKET-5056
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.6.0
            Reporter: Martin Grigorov


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira