Bug 1349601 - SSUI : Blank virtual machine row is displayed for service with no VM
Summary: SSUI : Blank virtual machine row is displayed for service with no VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.7.0
Assignee: Harpreet Kataria
QA Contact: Shveta
URL:
Whiteboard: ssui
Depends On:
Blocks: 1349876
TreeView+ depends on / blocked
 
Reported: 2016-06-23 18:58 UTC by Shveta
Modified: 2017-01-12 04:45 UTC (History)
7 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1349876 (view as bug list)
Environment:
Last Closed: 2017-01-11 19:52:14 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
sc1 (84.20 KB, image/png)
2016-06-23 18:58 UTC, Shveta
no flags Details
sc2 (89.60 KB, image/png)
2016-06-23 18:59 UTC, Shveta
no flags Details

Description Shveta 2016-06-23 18:58:46 UTC
Created attachment 1171644 [details]
sc1

Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Create a generic service .
2. Login to SSUI , Virtual machine() is shown - Screenshot 1
3. No Virtual Machines will be better .
4. Screenshot 2 - A VM shows unknown for power state . May be text should be added " Power state : Unknown " 
Actual results:


Expected results:


Additional info:
Build : 5.6.0.12.20160621144250_790e860

Comment 2 Shveta 2016-06-23 18:59:13 UTC
Created attachment 1171645 [details]
sc2

Comment 5 CFME Bot 2016-07-11 22:01:33 UTC
New commit detected on ManageIQ/manageiq-ui-self_service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/3192cd3f32cafd1403a8daa746bd8ab0aceaa1e0

commit 3192cd3f32cafd1403a8daa746bd8ab0aceaa1e0
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Jun 24 09:48:21 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Jul 11 17:22:25 2016 -0400

    Initialized vms array for cases when vms was returned as undefined.
    
    - When a service didnt have vms linked to it, vms was coming back as undefined, causing JS errors and not displaying proper message on screen.
    - Added "Power State" label in VM details section when power state iset unknown or set to never, other states show font icon instead of label text.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1349601
    https://bugzilla.redhat.com/show_bug.cgi?id=1349876

 client/app/states/services/details/details.html     | 8 ++++----
 client/app/states/services/details/details.state.js | 6 ++++++
 2 files changed, 10 insertions(+), 4 deletions(-)

Comment 6 CFME Bot 2016-07-11 22:01:41 UTC
New commit detected on ManageIQ/manageiq-ui-self_service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/c35d73ff5f04a24d6eed99fb8184a7bb14834e0e

commit c35d73ff5f04a24d6eed99fb8184a7bb14834e0e
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Jul 1 14:20:43 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Jul 11 17:37:53 2016 -0400

    Fixed div class name.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1349601
    https://bugzilla.redhat.com/show_bug.cgi?id=1349876

 client/app/states/services/details/details.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 7 CFME Bot 2016-07-11 22:01:49 UTC
New commit detected on ManageIQ/manageiq-ui-self_service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/1e600a4a98af885e927f1379cda9264156424a64

commit 1e600a4a98af885e927f1379cda9264156424a64
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Jun 24 10:48:54 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Jul 11 17:22:46 2016 -0400

    Addressed gulp test failure.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1349601
    https://bugzilla.redhat.com/show_bug.cgi?id=1349876

 .../app/states/services/details/details.state.js   | 39 ++++++++++++----------
 1 file changed, 21 insertions(+), 18 deletions(-)

Comment 8 Shveta 2016-09-21 04:51:34 UTC
Fixed.
verified in 5.7.0.0.20160906172503_12f65cb


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