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

LocaleFirstMapper does not strip Locale from url in getCompatibilityScore()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • wicket-examples
    • 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

            ivaynberg Igor Vaynberg
            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