Bug 793619 (JBEPP-699)

Summary: User can't change his user profile locale through UIUserLanguageSelector if current portal has same locale
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: mposolda
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1.1.GACC: epp-bugs, mwringe
Target Milestone: ---   
Target Release: 5.2.0.ER01   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-699
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-26 19:01:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mposolda 2010-12-03 14:52:30 UTC
Workaround: Workaround Exists
Workaround Description: Mary can change her locale to "French" and click Apply. And then she can switch it again to value "English". Now her user profile has locale updated to "English".
project_key: JBEPP

Steps to reproduce:

- Login as mary (assumption is that mary does not have set locale in user profile)
- Go to localhost:8080/portal/private/classic (Assumption is that classic portal has english locale, which is default value for this portal)
- Click to "Change language"
- Now I am seeing that value is "English" which is portal locale. Now I can switch to some different language ("French", "German" etc.) and my selection is directly applied to user profile locale of mary. But when click to "English" and "Apply" user profile locale is not changed. So mary can't directly change her profile locale to "English" if portal locale has value "english".

Workaround: Mary can change her locale to "French" and click Apply. And then she can switch it again to value "English". Now her user profile has locale updated to "English".

Comment 1 mposolda 2010-12-03 14:54:47 UTC
Link: Added: This issue depends GTNPORTAL-1717


Comment 2 mposolda 2010-12-03 14:56:56 UTC
Link: Added: This issue related JBQA-4009


Comment 3 mposolda 2011-08-17 10:28:49 UTC
Link: Added: This issue relates to JBQA-5114


Comment 4 Matt Wringe 2011-08-25 21:47:15 UTC
I don't understand what you mean in the third step:

'Now I can switch to some different language ("French", "German" etc.) and my selection is directly applied to user profile locale of mary'

Where am I changing the language here? is root changing the portal language, am I changing the locale of the browser? ....



Comment 5 Matt Wringe 2011-08-26 19:01:02 UTC
Ok, figured out what was meant by step 3 and merged in the patch from GTNPORTAL-1717.

Comment 6 Thomas Heute 2011-09-22 07:17:43 UTC
Release Notes Docs Status: Added: Not Yet Documented


Comment 7 Jared MORGAN 2011-11-30 04:28:33 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
Release Notes Text: Added: A bug in UIUserLanguageSelector caused a problem with dynamically updating the locale when a user selected a different language. The language state had to be saved using the Apply button. The fix introduces changes to locale handling in the affected module which fixes the issue.