Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4055

LocaleFirstMapper does not strip Locale from url in getCompatibilityScore()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: wicket-examples
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              bgooren Sebastian Gooren
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified