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 896251

Summary: [de_DE][zh_TW][pt_BR][ru_RU][SAM CLI] user module "translation missing: de.activerecord.errors.messages.record_invalid" errors
Product: Red Hat Satellite Reporter: Chris Pelland <cpelland>
Component: Content ManagementAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: unspecified    
Version: NightlyCC: cwelton, daviddavis, dmacpher, eng-l10n-bugs, hpeters, lijli, lzap, mmccune, qe-i18n-bugs, ypoyarko
Target Milestone: UnspecifiedKeywords: Translation, Triaged, ZStream
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
CloudForms System Engine command line tool incorrectly parsed locales, which caused the following error: "translation missing: de.activerecord.errors.messages.record_invalid" This patch replaces the controller for setting the locale. The translation error no longer appears.
Story Points: ---
Clone Of: 887095 Environment:
Last Closed: 2013-02-21 19:06:54 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:
Bug Depends On: 887095    
Bug Blocks: 891411    

Comment 1 David Davis 2013-01-22 20:33:28 UTC
Lukas,

Are you still working on this bug? If not, can we discuss what needs to be done?

Thanks!

Comment 2 Lukas Zapletal 2013-01-23 14:48:52 UTC
https://github.com/Katello/katello/pull/1446

Comment 3 David Davis 2013-01-24 23:03:31 UTC
Katello commits:

3097b715be7c3f6ac4e8a0406715f31a8c9ac034
35f57f083efa8c886ab9c14a929e47dfeed799ec

Comment 6 Corey Welton 2013-01-29 14:59:01 UTC
Still seeing this in CloudForms System Engine Version: 1.1.12-25.el6cf

[root@se-rhelbox ~]# LANG=en_US
[root@se-rhelbox ~]# katello  -u admin -p admin user create --username=de_DE --password=red --email=
Validation failed: Email can't be blank, Password must be at least 5 characters.
[root@se-rhelbox ~]# LANG=de_DE
[root@se-rhelbox ~]# katello  -u admin -p admin user create --username=de_DE --password=red --email=
translation missing: de.activerecord.errors.messages.record_invalid

Comment 7 Lukas Zapletal 2013-01-29 15:58:22 UTC
I have been told by cswii that this FAILS QA:

# LC_ALL=de_DE katello  -u admin -p admin user create --username=de_DE --password=red --email=
translation missing: de.activerecord.errors.messages.record_invalid

Ok the patch that has been cherrypicked fixed issue when CLI ignored LC_ALL setting. But since the namespace was changed in Rails 3.x

https://github.com/rails/rails/pull/5274/files

we have old and outdated locale files in SE 1.1.z now.

We need to cherry pick this rails locale update:

https://github.com/Katello/katello/commit/54db6b1b4e49808450856a4427bc8b180ab8a1fc

To get this working.

Comment 9 Corey Welton 2013-01-29 20:47:38 UTC
QE Verified.
CloudForms System Engine Version: 1.1.12-26.el6cf

Comment 11 errata-xmlrpc 2013-02-21 19:06:54 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.

http://rhn.redhat.com/errata/RHSA-2013-0547.html