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 1625175 - Missing value in product details causes values to not align to their labels
Summary: Missing value in product details causes values to not align to their labels
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.4.0
Assignee: Amir
QA Contact: Mirek Długosz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-04 10:25 UTC by Mirek Długosz
Modified: 2019-11-05 23:34 UTC (History)
3 users (show)

Fixed In Version: tfm-rubygem-katello-3.7.0.26-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 19:13:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot showing how page would look like with proposed fix (applied to HTML using browser web development tools) (79.50 KB, image/png)
2018-09-04 10:29 UTC, Mirek Długosz
no flags Details
Screenshot showing problem (41.84 KB, image/png)
2018-09-04 10:30 UTC, Mirek Długosz
no flags Details
Screenshot of page after fix (42.52 KB, image/png)
2018-09-18 17:36 UTC, Mirek Długosz
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24810 0 None None None 2018-09-04 12:45:01 UTC
Red Hat Bugzilla 1603239 0 unspecified CLOSED Add product content info to new subscription details page 2021-02-22 00:41:40 UTC

Description Mirek Długosz 2018-09-04 10:25:32 UTC
On Subscription details page, there are 4 values displayed for each product: Content Download URL, GPG Key URL, Repo Type and Enabled?. If one value is missing, it causes subsequent values to shift up and not align with their labels. See attached screenshot.


Version-Release number of selected component (if applicable):
Satellite 6.4.0 snap 20
tfm-rubygem-katello-3.7.0.22-1.el7sat.noarch


Steps to Reproduce:
1. Create new product. Make sure that GPG Key field remains empty. Add one yum repository: https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/
2. Content -> Subscriptions -> Product from previous step -> Enabled Products -> expand product
3. Try to read data


Solution:
The root cause is HTML structure displaying ultimately tabular data in column-oriented way instead of row-oriented way.


Instead of (simplified code):

<div class="col-sm-3">
   <div class="row">Label</div>
</div>
<div class="col-sm-9">
   <div class="row">value</div>
</div>

It should be:

<div class="row">
   <div class="col-sm-3">
      Label
   </div>
   <div class="col-sm-9">
      value
   </div>
</div>

New structure would also make data more readable on phones / very narrow screens. Right now it's all labels, all values, one under another. With new structure, it would be label, value, intertwined.

Comment 1 Mirek Długosz 2018-09-04 10:29:09 UTC
Created attachment 1480736 [details]
Screenshot showing how page would look like with proposed fix (applied to HTML using browser web development tools)

Comment 2 Mirek Długosz 2018-09-04 10:30:17 UTC
Created attachment 1480737 [details]
Screenshot showing problem

Comment 4 Andrew Kofink 2018-09-04 12:45:00 UTC
Created redmine issue https://projects.theforeman.org/issues/24810 from this bug

Comment 5 Satellite Program 2018-09-06 14:06:04 UTC
Upstream bug assigned to afeferku

Comment 6 Satellite Program 2018-09-06 14:06:07 UTC
Upstream bug assigned to afeferku

Comment 7 Satellite Program 2018-09-06 20:05:59 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24810 has been resolved.

Comment 9 Mirek Długosz 2018-09-18 17:36:04 UTC
Missing value for one of fields no longer cause subsequent values to shift up. See attached screenshot.

Tested on Satellite 6.4 snap 22 (tfm-rubygem-katello-3.7.0.28-1).

Comment 10 Mirek Długosz 2018-09-18 17:36:51 UTC
Created attachment 1484458 [details]
Screenshot of page after fix

Comment 11 Bryan Kearney 2018-10-16 19:13:34 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:2927


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