Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1347312 - SSUI - i18n not working on appliance
SSUI - i18n not working on appliance
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.6.0
Unspecified Unspecified
urgent Severity high
: GA
: 5.6.0
Assigned To: Martin Hradil
Jan Krocil
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-16 09:47 EDT by Martin Hradil
Modified: 2016-06-29 12:07 EDT (History)
8 users (show)

See Also:
Fixed In Version: 5.6.0.13
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 12:07:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Martin Hradil 2016-06-16 09:47:51 EDT
Description of problem:


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

How reproducible:
always

Steps to Reproduce:
1. Set a language that is not English in the ops UI for some user
2. Go to the Self-Service UI and log in
3. Look at the text

Actual results:
Text is in English.

Expected results:
Text should not be English.


Additional info:
The problem is that the translation catalogs are not copied over to the appliance. Also, and accessing the url (/self_service/gettext/json/*/manageiq-ui-self_service.json) does not return 404, but returns 200 with the content of index.html instead because of a redirection (that's not part of this bug).
Comment 4 CFME Bot 2016-06-24 10:31:33 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/16771e0f0b845b077a76c068d0a1c2841121ac46

commit 16771e0f0b845b077a76c068d0a1c2841121ac46
Author:     Martin Hradil <mhradil@redhat.com>
AuthorDate: Fri Jun 24 09:12:53 2016 +0000
Commit:     Martin Hradil <mhradil@redhat.com>
CommitDate: Fri Jun 24 09:12:53 2016 +0000

    MiqApache::Conf - update SSUI redirects to allow bower_components/ and gettext/
    
    SSUI needs html files under bower_components for the consoles to work, and json translations under gettext/ for translations to work.
    
    These files are there since https://github.com/ManageIQ/manageiq-ui-self_service/pull/65 , but the RewriteRule in /etc/httpd/conf.d/manageiq-redirects-ui always rewrites those URLs to /self_service/index.html => this PR makes bower_components/ and gettext/ to *not* get redirected to index.html
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1347319
    https://bugzilla.redhat.com/show_bug.cgi?id=1347312

 gems/pending/spec/util/miq_apache/conf_spec.rb | 2 +-
 gems/pending/util/miq_apache/miq_apache.rb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 11 errata-xmlrpc 2016-06-29 12:07:40 EDT
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:1348

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