[ https://issues.apache.org/jira/browse/WICKET-5056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-5056. ------------------------------------- Resolution: Fixed Fix Version/s: 7.0.0 6.9.0 Thank you, Cedric! You change is applied. > 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 > Assignee: Martin Grigorov > Fix For: 6.9.0, 7.0.0 > > > 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