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/06/14 15:58:20 UTC

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

     [ 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