Bug 1511501 - set_network_adapter method erroring out with undefined method `[]' for nil:NilClass')]
Summary: set_network_adapter method erroring out with undefined method `[]' for nil:Ni...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.8.0
Hardware: All
OS: Linux
high
medium
Target Milestone: GA
: 5.9.0
Assignee: Greg McCullough
QA Contact: Alex Newman
URL:
Whiteboard:
Depends On: 1508069
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-09 13:28 UTC by Satoe Imaishi
Modified: 2021-06-10 13:31 UTC (History)
9 users (show)

Fixed In Version: 5.9.0.9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1508069
Environment:
Last Closed: 2018-03-06 15:08:28 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 CFME Bot 2017-11-29 20:44:51 UTC
New commit detected on ManageIQ/manageiq-providers-vmware/gaprindashvili:
https://github.com/ManageIQ/manageiq-providers-vmware/commit/23b6d983a5037ebaac2c46862990da82d6d2f8fc

commit 23b6d983a5037ebaac2c46862990da82d6d2f8fc
Author:     Adam Grare <agrare>
AuthorDate: Wed Nov 8 14:41:07 2017 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Nov 14 20:08:50 2017 -0500

    Merge pull request #132 from gmcculloug/normalize_network_adapter
    
    Properly update network hash when the first array element is nil
    (cherry picked from commit 9d93a0dd7242405220c5ea11bbaa3e043d571ae2)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1511501

 .../provision/configuration/network.rb             | 40 ++++++++++------
 .../provision/configuration/network_spec.rb        | 55 ++++++++++++++++++++++
 2 files changed, 81 insertions(+), 14 deletions(-)
 create mode 100644 spec/models/manageiq/providers/vmware/infra_manager/provision/configuration/network_spec.rb


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