[
https://issues.apache.org/jira/browse/WICKET-5056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673483#comment-13673483
]
Cedric Gatay commented on WICKET-5056:
--------------------------------------
Simple implementation is available for code review at the following URL, not
doing a Pull Request until someone reviewed this
https://github.com/CedricGatay/wicket/commit/6ac453529095380c4153edd462ff0d66a2cdb563
Thanks
> 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