Bug 1515857 - [RFE] Generic objects not displayed
Summary: [RFE] Generic objects not displayed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Harpreet Kataria
QA Contact: Martin Kourim
URL:
Whiteboard: testathon
Depends On:
Blocks: 1553309
TreeView+ depends on / blocked
 
Reported: 2017-11-21 13:56 UTC by Cyril Coupel
Modified: 2019-02-11 13:55 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.0
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1553309 (view as bug list)
Environment:
Last Closed: 2019-02-11 13:55:06 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
generic object displayed (63.32 KB, image/png)
2017-11-21 21:42 UTC, Martin Kourim
no flags Details

Description Cyril Coupel 2017-11-21 13:56:53 UTC
Description of problem:
in the service view, the generic objects linked to the service are not displayed. Only the quantity of instances are showned

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


How reproducible:
every time

Steps to Reproduce:
1. instanciate a new generic object like lb=$evm.vmdb(:generic_object_definition).find_by(:name => "LoadBalancer").create_object(:name=>"test_LB")
2. set the object child of a service with lb.add_to_service
3.

Actual results:
the instance counter is incremented but the icon of the generic object is not visible

Expected results:
the generic objects must be displayed in the service view as well as the VMs.

Additional info:

Comment 2 Dave Johnson 2017-11-21 20:17:39 UTC
Martin, can you reproduce this?  Was it already reported?

Comment 3 Martin Kourim 2017-11-21 21:42:19 UTC
Created attachment 1356999 [details]
generic object displayed

Comment 4 Martin Kourim 2017-11-21 21:44:05 UTC
Tested using REST API, the generic object linked to the service is displayed (see screenshot).

POST /api/services/:id
{
  "action": "add_resource",
  "resource": { "resource": { "href": "https://<address>/api/generic_objects/:id" } }
}

Comment 6 Cyril Coupel 2017-11-24 16:28:00 UTC
In addition, the generic objects should be seen on the same page as the VMs while looking at the service page.
We must not have to click on the summary counter to open a new page to access the generic objects.

Comment 13 CFME Bot 2018-02-23 21:04:03 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/48cd8d928e625e09056eec18f0f1c900169ef5eb

commit 48cd8d928e625e09056eec18f0f1c900169ef5eb
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Feb 22 16:12:50 2018 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Feb 23 14:29:55 2018 -0500

    Render GO summary screen in Service Explorer.
    
    Render GO summary screen when browsing to that thru list of generic objects from service summary screen
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1515857

 app/controllers/generic_object_controller.rb         | 2 +-
 app/controllers/service_controller.rb                | 5 ++++-
 app/helpers/generic_object_helper/textual_summary.rb | 8 ++++----
 app/helpers/service_helper/textual_summary.rb        | 2 ++
 app/views/service/show.html.haml                     | 2 +-
 spec/controllers/service_controller_spec.rb          | 1 -
 6 files changed, 12 insertions(+), 8 deletions(-)

Comment 15 Martin Kourim 2018-07-11 08:32:25 UTC
Verified that on 5.10.0.3 when clicking on number of Generic Object instances and then on instances one by one the details including attributes and their values are displayed.


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