Bug 1504565
Summary: | API schema generated by server doesn't follow language requested by client. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ming Davies <minyu> |
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | frenaud, myusuf, ndehadra, pasik, pvoborni, rcritten, tscherf |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-4.6.4-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 10:57:10 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: | |
Embargoed: |
Description
Ming Davies
2017-10-20 08:35:03 UTC
Upstream ticket: https://pagure.io/freeipa/issue/7238 Fixed upstream master: 6c5a746 Fixing translation problems ipa-4-6: 924e97c Fixing translation problems ipa-4-5: ed5087f Fixing translation problems version: ipa-server-4.6.4-6.el7.x86_64 Steps: 1. Install IPA 2. list available locale $ localectl list-locales 3. set LANG with the local from the list 4. run ipa-command e.x $ ipa user-find 5. restore original locale Actual result: [root@vm-idm-006 ~]# export LANG=zh_CN.UTF-8 [root@vm-idm-006 ~]# [root@vm-idm-006 ~]# ipa user-find ------- 已匹配1个用户 ------- 用户登录名: admin 姓: Administrator 主目录: /home/admin 登录shell: /bin/bash 主体别名: admin UID: 196400000 GID: 196400000 禁用账户: False -------- 返回的条目数 1 -------- [root@vm-idm-006 ~]# export LANG=fr_FR.utf8 [root@vm-idm-006 ~]# ipa user-find --------------------------- 1 utilisateur correspondant --------------------------- Identifiant de connexion: admin Nom: Administrator Répertoire personnel: /home/admin Interpréteur de commande: /bin/bash Principal alias: admin UID: 196400000 GID: 196400000 Compte désactivé: False ---------------------------- Nombre d'entrées renvoyées 1 ---------------------------- [root@vm-idm-006 ~]# export LANG=en_US.UTF-8 [root@vm-idm-006 ~]# [root@vm-idm-006 ~]# ipa user-find -------------- 1 user matched -------------- User login: admin Last name: Administrator Home directory: /home/admin Login shell: /bin/bash Principal alias: admin UID: 196400000 GID: 196400000 Account disabled: False ---------------------------- Number of entries returned 1 ---------------------------- Hence based on above observations and comment#8, marking the bug as verified. 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-2018:3187 |