Bug 1221060 - Satellite 5 organization not displayed in the UI when set
Summary: Satellite 5 organization not displayed in the UI when set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.5.0
Assignee: Harpreet Kataria
QA Contact: Taras Lehinevych
URL:
Whiteboard:
Depends On: 1267999 1268230 1271288
Blocks: 1247764
TreeView+ depends on / blocked
 
Reported: 2015-05-13 09:03 UTC by Jan Krocil
Modified: 2016-08-03 01:32 UTC (History)
9 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1247764 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:09:02 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Sat 5 org not displayed (22.05 KB, image/png)
2015-05-13 09:03 UTC, Jan Krocil
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Jan Krocil 2015-05-13 09:03:46 UTC
Created attachment 1024966 [details]
Sat 5 org not displayed

Description of problem:
Satellite 5 organization is not displayed even when set.
See attached screenshot.

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

How reproducible:
Always with sat5 service


Steps to Reproduce:
1. Configure > Configuration > Region > RH Updates
2. Setup sat5 and save
3. Check the set organization

Actual results:
The organization field is empty.

Expected results:
The organization field contains valid info.

Additional info:
Satellite 6 organization is shown correctly.

Comment 5 Brandon Dunne 2015-07-06 13:36:25 UTC
Harpreet,

Since we don't have a display name for the Sat 5 organization, I think the easiest thing to do is implement  "registration_organization_display_name || registration_organization"  in the code that fetches the name to display.  What do you think?

Comment 7 CFME Bot 2015-07-28 19:51:17 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3a247754e4cd7a27129aee1fbab9e31915eb5259

commit 3a247754e4cd7a27129aee1fbab9e31915eb5259
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Jul 28 12:26:11 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Jul 28 13:11:35 2015 -0400

    Show RHN organization name when display name is not populated.
    
    Show RHN organization name value when display name is not populated in the table.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221060

 app/controllers/ops_controller/settings/rhn.rb |  2 +-
 app/models/miq_database.rb                     |  4 ++++
 spec/models/miq_database_spec.rb               | 14 ++++++++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

Comment 8 CFME Bot 2015-07-31 21:41:12 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a3805dd03c0bcdd167d5eb61589fb571d14c6013

commit a3805dd03c0bcdd167d5eb61589fb571d14c6013
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Jul 28 16:02:23 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Jul 31 14:50:38 2015 -0400

    Show RHN organization name when display name is not populated.
    
    Show RHN organization name value when display name is not populated in the table.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221060
    https://bugzilla.redhat.com/show_bug.cgi?id=1247764

 vmdb/app/controllers/ops_controller/settings/rhn.rb |  2 +-
 vmdb/app/models/miq_database.rb                     |  4 ++++
 vmdb/spec/models/miq_database_spec.rb               | 14 ++++++++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

Comment 9 CFME Bot 2015-07-31 21:41:20 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=fa41d2f34cfe9d70c823f18b785b0b63c605f464

commit fa41d2f34cfe9d70c823f18b785b0b63c605f464
Merge: 18f2b36 a3805dd
Author:     Dan Clarizio <dclarizi>
AuthorDate: Fri Jul 31 17:39:04 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Jul 31 17:39:04 2015 -0400

    Merge branch '54z_bz_1247764' into '5.4.z'
    
    Show RHN organization name when display name is not populated.
    
    Show RHN organization name value when display name is not populated in the table.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221060
    https://bugzilla.redhat.com/show_bug.cgi?id=1247764
    
    dclarizio please review, Applied patch almost cleanly, had a minor issue with merging changes in spec test.
    original PR: https://github.com/ManageIQ/manageiq/pull/3629
    
    See merge request !198

 vmdb/app/controllers/ops_controller/settings/rhn.rb |  2 +-
 vmdb/app/models/miq_database.rb                     |  4 ++++
 vmdb/spec/models/miq_database_spec.rb               | 14 ++++++++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

Comment 11 Taras Lehinevych 2015-10-23 14:42:45 UTC
Verified fixed in 5.5.0.7

The information about company name is displayed correctly.

Comment 13 errata-xmlrpc 2015-12-08 13:09:02 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-2015:2551


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