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 2011/09/16 08:57:08 UTC

[jira] [Updated] (WICKET-4055) LocaleFirstMapper does not strip Locale from url in getCompatibilityScore()

     [ https://issues.apache.org/jira/browse/WICKET-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-4055:
------------------------------------

    Fix Version/s: 1.5.1

> LocaleFirstMapper does not strip Locale from url in getCompatibilityScore()
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-4055
>                 URL: https://issues.apache.org/jira/browse/WICKET-4055
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-examples
>    Affects Versions: 1.5.0
>            Reporter: Sebastian Gooren
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.5.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> LocaleFirstMapper delegates the call to getCompatibilityScore() to the chained IRequestMapper without stripping the locale from the url.
> Since most request mappers generate a compatibility score by counting the number of matching segments _from the start of the url_, they will mostly return a score of 0.
> Practically this means that all request mappers behind the LocaleFirstMapper stop responding to urls.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira