Bug 1451300

Summary: [Ansible Embedded][Services][Multi-Tenancy] - Multiple catalogs with the same name in the dropdown menu
Product: Red Hat CloudForms Management Engine Reporter: Pavol Kotvan <pakotvan>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: akarol, cpelland, hkataria, jhardy, jprause, mpovolny, obarenbo, pakotvan, sdoyle, simaishi, tnovotna
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible_embed:ui:multi_tenancy
Fixed In Version: 5.10.0.14 Doc Type: Known Issue
Doc Text:
A known issue exists presently where different CloudForms tenants can create catalogs with the same name, and consequently, CloudForms displays multiple catalogs with the same name in the Catalog dropdown menu. This can result in difficulty differentiating catalog items when an administrative user creates a service catalog item, as the user interface does not display the name of the tenant that owns the catalog. This will be fixed in a later release.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 23:02:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Comment 15 CFME Bot 2018-08-27 13:47:47 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/bde7cb59122602d66e0faa7f105271844475b1c0
commit bde7cb59122602d66e0faa7f105271844475b1c0
Author:     Hilda Stastna <hstastna>
AuthorDate: Wed Jul 11 06:05:29 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Wed Jul 11 06:05:29 2018 -0400

    Add method to catalog controller for getting available catalogs

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1451300

    Add new method available_catalogs for getting all the available catalogs with
    the names containing tenant names and their ancestors to prevent displaying
    catalogs with the same name in the dropdown menu while creating a Catalog Item
    or Catalog Bundle.

 app/controllers/catalog_controller.rb | 16 +
 1 file changed, 16 insertions(+)

Comment 16 Hilda Stastna 2018-08-31 13:08:35 UTC
PR which fixes the bug in the original PR:
https://github.com/ManageIQ/manageiq-ui-classic/pull/4574

Comment 17 Satyajit Bulage 2018-12-12 13:05:48 UTC
Created attachment 1513666 [details]
Screenshot showing current result

Able to see differentiation with catalog names, created by Admin user from different child tenants.

Verified Version: 5.10.0.28.20181204160308_aa3b074

Comment 18 errata-xmlrpc 2019-02-07 23:02: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-2019:0212