Bug 1241987 - Clicking on Host/Services returns exception: undefined method `num_cpu' for nil:NilClass
Summary: Clicking on Host/Services returns exception: undefined method `num_cpu' for n...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.1
Assignee: Harpreet Kataria
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On: 1241972
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-10 14:57 UTC by Chris Pelland
Modified: 2015-07-30 13:12 UTC (History)
9 users (show)

Fixed In Version: 5.4.1.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 1241972
Environment:
Last Closed: 2015-07-30 13:12:33 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1511 0 normal SHIPPED_LIVE CFME 5.4.1 bug fixes, and enhancement update 2015-07-30 17:10:05 UTC

Comment 1 CFME Bot 2015-07-10 16:46:47 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/0d14e223c91c681e1343319a5802f3236104754a

commit 0d14e223c91c681e1343319a5802f3236104754a
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Jul 10 11:27:50 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Jul 10 11:46:46 2015 -0400

    Fixed code to use local variable instead of @record.
    
    - Added spec test to verify fix.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1241972
    https://bugzilla.redhat.com/show_bug.cgi?id=1241987

 app/controllers/application_controller.rb       |  2 +-
 spec/controllers/application_controller_spec.rb | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

Comment 2 CFME Bot 2015-07-10 18:11:09 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=d8f143cdfc4cb104829998b5220cf94ba703b346

commit d8f143cdfc4cb104829998b5220cf94ba703b346
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Jul 10 13:02:38 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Jul 10 13:02:38 2015 -0400

    Fixed code to use local variable instead of @record.
    
    - Added spec test to verify fix.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1241972
    https://bugzilla.redhat.com/show_bug.cgi?id=1241987

 vmdb/app/controllers/application_controller.rb       |  2 +-
 vmdb/spec/controllers/application_controller_spec.rb | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

Comment 3 CFME Bot 2015-07-10 18:11:16 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=5e08de36fea012740e4153dbff41eade9007a463

commit 5e08de36fea012740e4153dbff41eade9007a463
Merge: 0d44f0b d8f143c
Author:     Dan Clarizio <dclarizi>
AuthorDate: Fri Jul 10 14:07:28 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Jul 10 14:07:28 2015 -0400

    Merge branch 'host_services_fix_cherry_pick' into '5.4.z'
    
    Fixed code to use local variable instead of @record.
    
    - Added spec test to verify fix.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1241972
    https://bugzilla.redhat.com/show_bug.cgi?id=1241987
    
    @dclarizio please review, successfully applied patches from upstream cleanly onto 5.4.z
    
    See merge request !172

 vmdb/app/controllers/application_controller.rb       |  2 +-
 vmdb/spec/controllers/application_controller_spec.rb | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

Comment 5 Nandini Chandra 2015-07-20 06:11:57 UTC
Verified in 5.4.1.0

Comment 7 errata-xmlrpc 2015-07-30 13:12:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1511.html


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