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 Management | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | Corey Welton <cwelton> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | Nightly | CC: | cwelton, daviddavis, dmacpher, eng-l10n-bugs, hpeters, lijli, lzap, mmccune, qe-i18n-bugs, ypoyarko |
Target Milestone: | Unspecified | Keywords: | 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
Katello commits: 3097b715be7c3f6ac4e8a0406715f31a8c9ac034 35f57f083efa8c886ab9c14a929e47dfeed799ec 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 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. QE Verified. CloudForms System Engine Version: 1.1.12-26.el6cf 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 |