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:
Martin, can you reproduce this? Was it already reported?
Created attachment 1356999 [details] generic object displayed
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" } } }
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.
https://github.com/ManageIQ/manageiq-ui-classic/pull/3460
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(-)
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.