Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4237

Locale is not fetched correctly if array of locales is passed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.15.1
    • 2.3.20
    • Core Interceptors
    • None

    Description

      If there is passed several parameters "request_only_locale", then I18nInterceptor creates and sets locale which is equals Array.toString.

      I18nInterceptor.findLocaleParameter checks for array but also checks that array should be of the length == 1. If it is more than one, then no value is fetched but whole array.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            egidvais Egidijus Vaisnora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: