struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4237) Locale is not fetched correctly if array of locales is passed
Date Fri, 21 Mar 2014 20:33:46 GMT

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

Lukasz Lenart resolved WW-4237.
-------------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart

Patch applied, thanks!

> Locale is not fetched correctly if array of locales is passed
> -------------------------------------------------------------
>
>                 Key: WW-4237
>                 URL: https://issues.apache.org/jira/browse/WW-4237
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.3.15.1
>            Reporter: Egidijus Vaisnora
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.17
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message