Bug 1467805

Summary: Tag names on Topology page contain full path
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: dajohnso, hkataria, jhardy, jocarter, mpovolny, nachandr, obarenbo
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:topology:tag
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1526582 (view as bug list) Environment:
Last Closed: 2018-06-21 21:05:28 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:
Bug Depends On:    
Bug Blocks: 1526582    
Attachments:
Description Flags
screen shot of Tags on Provider Topology page none

Description Nandini Chandra 2017-07-05 08:17:20 UTC
Description of problem:
----------------------
The tag names on the Topology page of providers contain full path.
See attached screen shot.


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


How reproducible:
-----------------
Always


Steps to Reproduce:
-------------------
1.Manage a provider,tag a VM, for eg:Location : London
2.From the summary page of the provider,navigate to the Topology page.
3.On the Topology page, check the Display Names check box;Click Tags so that Tags are displayed on the Topology page.


Actual results:
--------------
Tag names on Topology page contain full path.The attached screen shot shows:
/managed/location/london
/managed/folder_path_yellow/datacenters


Expected results:
-----------------
Tag names on Topology page should not contain full path.


Additional info:
----------------

Comment 2 Nandini Chandra 2017-07-05 08:18:26 UTC
Created attachment 1294491 [details]
screen shot of Tags on Provider Topology page

Comment 7 CFME Bot 2017-12-13 23:11:40 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/438abad588d47ec2e37028b4c4adca221b556a7f

commit 438abad588d47ec2e37028b4c4adca221b556a7f
Author:     lpichler <lpichler>
AuthorDate: Wed Dec 6 16:36:33 2017 +0100
Commit:     lpichler <lpichler>
CommitDate: Wed Dec 13 11:29:33 2017 +0100

    Add writable_clasification_tags
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1467805
    https://bugzilla.redhat.com/show_bug.cgi?id=1519457

 app/models/classification.rb            |  2 ++
 lib/extensions/ar_taggable.rb           |  4 ++++
 spec/lib/extensions/ar_taggable_spec.rb | 19 +++++++++++++++++++
 3 files changed, 25 insertions(+)

Comment 8 CFME Bot 2017-12-14 21:41:21 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/44bd5a44e1db80f514910441d2c8b6442a3b4e5a

commit 44bd5a44e1db80f514910441d2c8b6442a3b4e5a
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue Dec 12 15:22:58 2017 +0100
Commit:     Dávid Halász <dhalasz>
CommitDate: Thu Dec 14 17:48:06 2017 +0100

    Name the tags on the topology screens based on its classifications
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1467805

 .../javascripts/services/topology_service.js       |  8 +++++++-
 app/services/topology_service.rb                   | 11 ++++++++++-
 spec/services/topology_service_spec.rb             | 22 ++++++++++++++++++++++
 3 files changed, 39 insertions(+), 2 deletions(-)

Comment 10 Dávid Halász 2017-12-19 10:11:27 UTC
*** Bug 1525185 has been marked as a duplicate of this bug. ***