Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 784326

Summary: Changing a different user's localization preference displays notification in that language
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: WebUIAssignee: Marek Hulan <mhulan>
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: NightlyCC: asaleh, bkearney, dcleal, mhulan, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-26 13:51:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
UI screen shot none

Description Og Maciel 2012-01-24 15:22:32 UTC
Description of problem:

As the admin user I have my locale set to be the default value of "en". I created a new user and then edited his account by changing his default locale to "es". As soon as I saved my changes, a notification flashed to inform me that my changes were applied, but the message was in "es" and not "en".

Version-Release number of selected component (if applicable):

Katello Version: 0.1.194-1.el6 

How reproducible:


Steps to Reproduce:
1. Log in as a user that has "en" as its default locale
2. Either create a new user or select an existing one
3. Modify that user's default locale to "es"
4. Save it.
  
Actual results:


A notification flashes with a message in "es"

Expected results:

The message should be in "en"

Additional info:


Started POST "/katello/users/5/update_locale" for 10.11.230.241 at Tue Jan 24 10:13:27 -0500 2012
  Processing by UsersController#update_locale as HTML
  Parameters: {"authenticity_token"=>"u2I/GHxza4psgWRXnYtie7xvC/XaHQO2tYpGaCqVodw=", "utf8"=>"✓", "id"=>"5", "locale"=>{"locale"=>"es"}}
Redirected to https://rhel61-server.usersys.redhat.com/katello/users?id=5#panel=user_5
Completed 302 Found in 204ms


Started GET "/katello/users?id=5" for 10.11.230.241 at Tue Jan 24 10:13:28 -0500 2012
  Processing by UsersController#index as HTML
  Parameters: {"id"=>"5"}
Rendered common/_helptip_button.html.haml (2.4ms)
Rendered common/_helptip.html.haml (1.4ms)
Rendered common/_tupane.html.haml (0.8ms)
Rendered common/_panel.html.haml (13.2ms)
Rendered layouts/_org.haml (1.3ms)
Rendered layouts/_header.haml (8.8ms)
Rendered layouts/_footer.haml (1.0ms)
Rendered common/_config.html.haml (0.6ms)
Rendered layouts/_ajax_notices.haml (4.5ms)
Rendered layouts/_notification.haml (0.4ms)
Rendered common/_common_i18n.html.haml (0.6ms)
Rendered common/_edit_i18n.html.haml (1.1ms)
Rendered users/index.html.haml within layouts/katello (505.8ms)
Completed 200 OK in 526ms (Views: 480.7ms | ActiveRecord: 32.5ms)

Comment 1 Marek Hulan 2012-12-18 13:07:55 UTC
fixed in d30db9b27ba94847ebd845c0bba3522b66759794 PR 1275

Comment 2 Bryan Kearney 2014-01-21 19:07:27 UTC
Moving to Sat6 to be tracked there. Upstream bugs are moving to redmine.

Comment 5 Tazim Kolhar 2014-05-20 06:59:12 UTC
Created attachment 897461 [details]
UI screen shot

Failed QA

Comment 6 Dominic Cleal 2014-05-20 17:00:55 UTC
(In reply to Tazim Kolhar from comment #5)
> Created attachment 897461 [details]
> UI screen shot
> 
> Failed QA

That's likely to be something like bug #1098730.  Please file it separately, it's unrelated to this BZ.

Comment 7 Adam Saleh 2014-05-26 13:51:17 UTC
Tried, no changes to administrators locale were seen.