struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rene Gielen (JIRA)" <>
Subject [jira] Resolved: (WW-3027) I18nInterceptor dismisses browser provided locale (see XW-679)
Date Mon, 09 Mar 2009 14:52:02 GMT


Rene Gielen resolved WW-3027.

    Resolution: Fixed

Fixed in XWork for
>= XWork 2.1.3-SNAPSHOT (trunk)
>= XWork 2.0.8-SNAPSHOT (2.0 branch)

> I18nInterceptor dismisses browser provided locale (see XW-679)
> --------------------------------------------------------------
>                 Key: WW-3027
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.14, 2.1.6
>            Reporter: Rene Gielen
>            Assignee: Rene Gielen
>             Fix For: 2.0.15, 2.1.7
> Copied from
> Currently, the I18nInterceptor first looks up request parameters if a locale information
is provided. If not, it looks up the session. Without respect to whether the session actually
contains a locale under the lookup key, the lookup result is passed to saveLocale, which causes
the locale to be set on the ActionContext. This will erase any previous setting of the ActionContext's
locale. Unfortunately, this will always erase the browser locale found by the request dispatcher,
which if provided will be set on ActionContext before I18nInterceptor comes into play.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message