Bug 1257090 - API and CLI Missing users locale setting
Summary: API and CLI Missing users locale setting
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Tomas Strachota
QA Contact: jcallaha
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2015-08-26 09:33 UTC by Peter Vreman
Modified: 2019-09-25 21:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:01:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9114 0 None None None 2016-04-22 14:56:27 UTC

Description Peter Vreman 2015-08-26 09:33:05 UTC
Description of problem:
The user locale can be configured over the WebUI, but not over the API or hammer
Also listing the users details over the API does not include the locale field.

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


How reproducible:


Steps to Reproduce:
1. Use API to configure users locale to set it to "en"
2. Use Hammer to configure users locale to set it to "en"
3.

Actual results:
Missing locale settings in GET resource
Not possible update locale


Expected results:
All user settings can be retrieved and updated over the API and Hammer. 


Additional info:

Comment 1 Corey Welton 2015-09-22 17:53:03 UTC
Is there a possibility of using LANG= or LC_ALL=, etc., to set locale from shell?

Comment 3 Bryan Kearney 2015-10-15 19:32:54 UTC
Created redmine issue http://projects.theforeman.org/issues/12190 from this bug

Comment 4 Bryan Kearney 2015-10-15 20:02:02 UTC
Upstream bug component is Hammer

Comment 5 Bryan Kearney 2015-10-29 18:58:23 UTC
Connecting redmine issue http://projects.theforeman.org/issues/12190 from this bug

Comment 6 Bryan Kearney 2015-12-18 21:49:26 UTC
Connecting redmine issue http://projects.theforeman.org/issues/9114 from this bug

Comment 7 Bryan Kearney 2015-12-18 21:52:54 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9114 has been closed
-------------
Anonymous
Applied in changeset commit:hammer-cli-foreman|5ff88328df9f4f4484c0db136643c3433f1423d4.

Comment 9 Oleksandr Shtaier 2016-01-14 14:59:49 UTC
Basically, all operations are not present for user locale setting. It means that you can neither create nor update it. And, of course, you cannot even read any information about it.

All these things applied on API and CLI. Documentation also missed any details about that setting (both API and Hammer)

Please, verify both functionality and documentation

Comment 12 jcallaha 2016-04-05 20:45:20 UTC
Verified in Satellite 6.2 beta snap 6 Compose 1. It is now possible to view and update the locale in API and CLI.

Comment 14 Bryan Kearney 2016-07-27 11:01:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


Note You need to log in before you can comment on or make changes to this bug.