Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1510783 - wrong <title> on<some langs>.html - contains html tag
Summary: wrong <title> on<some langs>.html - cont...
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: API
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
low vote
Target Milestone: Unspecified
Assignee: Martin Bacovsky
QA Contact: Bruno Rocha
Depends On:
TreeView+ depends on / blocked
Reported: 2017-11-08 08:57 UTC by Jan Hutař
Modified: 2018-02-21 16:54 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-02-21 16:54:37 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Foreman Issue Tracker 21637 None None None 2017-11-12 20:51:55 UTC

Description Jan Hutař 2017-11-08 08:57:35 UTC
Description of problem:
There is wrong <title> on<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:

Steps to Reproduce:
1. Go to and check page title ("<html><head><title>..." tag content).
2. Now click at "v2" in the header and check title again:
3. Now click at "en_GB" and check title again:

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

Comment 3 Ivan Necas 2017-11-09 16:07:55 UTC
I would recommend Martin (put on cc) and I think API is the right component.

Comment 4 Martin Bacovsky 2017-11-12 20:51:50 UTC
Created redmine issue from this bug

Comment 5 Martin Bacovsky 2017-11-12 20:56:41 UTC
This is issue in apipie-rails. It ships translations only for some languages:
# rpm -ql tfm-rubygem-apipie-rails|grep locales\/

The strings that have missing translations are wrapped in the <span> element by default by rails.

Comment 6 2017-11-30 09:27:15 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue has been resolved.

Comment 7 Patrick Creech 2017-12-07 15:36:05 UTC
Moving back to post untill apipie-rails 0.5.6 lands upstream

Comment 8 Bruno Rocha 2017-12-18 18:30:32 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 9 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.
> > 
> >

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