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.
Description of problem:
There is wrong <title> on http://sat630.example.com/apidoc/v2.<lang>.html - contains html tag
Version-Release number of selected component (if applicable):
satellite-6.3.0-21.0.beta.el7sat.noarch (snap 24)
How reproducible:
always
Steps to Reproduce:
1. Go to http://sat630.example.com/apidoc/ and check page title ("<html><head><title>..." tag content).
2. Now click at "v2" in the header and check title again:
http://sat630.example.com/apidoc/v2.html
3. Now click at "en_GB" and check title again:
http://sat630.example.com/apidoc/v2.en_GB.html
or:
http://sat630.example.com/apidoc/v2.fr.html
Actual results:
In step 1. and 2., title is "<title>API documentation</title>"
In step 3., title is "<title><span class="translation_missing" title="translation missing: en-GB.apipie.api_documentation">Api Documentation</span></title>" which is incorrect - looks broken in browsers heading
Expected results:
There should be no HTML tags
This is issue in apipie-rails. It ships translations only for some languages:
# rpm -ql tfm-rubygem-apipie-rails|grep locales\/
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/de.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/en.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/es.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/it.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/ja.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/pl.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/pt-BR.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/ru.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/tr.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/zh-CN.yml
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.4/config/locales/zh-TW.yml
The strings that have missing translations are wrapped in the <span> element by default by rails.
Comment 6Satellite Program
2017-11-30 09:27:15 UTC
using: satellite-6.3.0-23.0.el7sat.noarch
No HTML tags showed on title of /apidoc/v2 neither on any other languages.
Comment 9Satellite Program
2018-02-21 16:54:37 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/RHSA-2018:0336