History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1212
Type: Bug Bug
Status: Open Open
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Mark Boyd
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

Changing the user locale does not change the session locale

Created: 18/Aug/05 11:42 AM   Updated: 15/Apr/08 05:34 PM
Component/s: Internationalization
Affects Version/s: 2.6.0 M1, 2.5.1 RC1, 2.5.0 GA, 2.5.1 RC2, 2.5.2 RC1, 2.5.1 RC3, 2.5.1 GA, 2.5.3 RC1, 2.5.2 GA, 2.5.3 RC2, 2.5.3 RC3, 2.5.3 GA, 2.6.0 RC1, 2.6.0 RC2, 2.6.0 GA, 2.6.1 RC1, 2.6.1 RC2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
There are two ways to select your locale when using the portal: the locale selector box in the upper right corner of the portal or by selecting a user locale in the preferences area via the UserLocaleSelector channel. The former changes the session locale and immediately alters the list of locales that you get from ChannelRuntimeData.getLocales(). Specifically the zero'th element is set to the locale that you selected.

The user locales channel persists your selection so that it is used when again logging in. It too has immediate effect but _only_ if a session locale has not been selected. If a session locale has been selected then setting the user locale has no effect until you log out and back in.

Changing the user locale should also force the session locale to change resulting in the locale changing immediately without logging out and back in.


 All   Comments   Work Log   Change History      Sort Order:
Vangel Ajanovski [24/Feb/06 03:36 AM]
I think this has to be changed in LocaleManager.java like this:

public void setUserLocales(Locale[] userLocales) { this.userLocales = userLocales; this.sessionLocales = userLocales; }

I tried this and it works OK in my installation of 2.5.2 RC1.