Bug 1548073 - Undefined method `vmm_version' for nil:NilClass on VM summary screen
Summary: Undefined method `vmm_version' for nil:NilClass on VM summary screen
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: Brian McLaughlin
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ui:vm
Depends On:
Blocks: 1553307 1553308
TreeView+ depends on / blocked
 
Reported: 2018-02-22 16:14 UTC by Brian McLaughlin
Modified: 2019-08-22 00:54 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1553307 1553308 (view as bug list)
Environment:
Last Closed: 2019-03-26 21:02:07 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brian McLaughlin 2018-02-22 16:14:05 UTC
Description of problem:
Error when loading VM summary screen

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


How reproducible:
100% on VMs without a defined Host

Steps to Reproduce:
1. Navigate to VM summary screen
2.
3.

Actual results:
FATAL -- : Error caught: [NoMethodError] undefined method `vmm_version' for nil:NilClass

Expected results:
Page loads.

Additional info:

Comment 2 Dave Johnson 2018-02-22 16:45:18 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 CFME Bot 2018-02-23 18:33:50 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/117563597a1707eb3a07b5be9383dd9cbca9d752

commit 117563597a1707eb3a07b5be9383dd9cbca9d752
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Thu Feb 22 14:05:41 2018 -0500
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Thu Feb 22 14:05:41 2018 -0500

    Check for a nil Host
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1548073

 app/helpers/application_helper/button/vm_webmks_console.rb       | 3 ++-
 .../helpers/application_helper/buttons/vm_webmks_console_spec.rb | 9 ++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

Comment 5 CFME Bot 2018-02-23 18:33:57 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/889eee0f0d933ae59c548b12df1d48fada3ddb6a

commit 889eee0f0d933ae59c548b12df1d48fada3ddb6a
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Fri Feb 23 11:33:36 2018 -0500
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Fri Feb 23 11:33:36 2018 -0500

    Disable console buttons without a Host
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1548073

 app/helpers/application_helper/button/vm_vnc_console.rb           | 3 ++-
 app/helpers/application_helper/button/vm_webmks_console.rb        | 2 +-
 spec/helpers/application_helper/buttons/vm_vnc_console_spec.rb    | 5 +++++
 spec/helpers/application_helper/buttons/vm_webmks_console_spec.rb | 7 +++----
 4 files changed, 11 insertions(+), 6 deletions(-)


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