Bug 1536168

Summary: Unable to browse VM Summary Screen with a NULL Custom Attribute name
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Martin Povolny <mpovolny>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, dclarizi, hkataria, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.18 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1535192 Environment:
Last Closed: 2018-03-06 15:10:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1535192    
Bug Blocks:    

Comment 2 CFME Bot 2018-01-18 19:04:22 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:
https://github.com/ManageIQ/manageiq-ui-classic/commit/e113219fd49d4008fab2f3802a1a72ea461abd57

commit e113219fd49d4008fab2f3802a1a72ea461abd57
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Jan 18 13:12:16 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jan 18 13:58:48 2018 -0500

    Merge pull request #3268 from martinpovolny/cust_attr_null_name
    
    Vm display: don't crash on custom attributes with null name.
    (cherry picked from commit 555bc179ee42c9de644db73ef555b786d14b2850)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536168

 app/helpers/host_helper/textual_summary.rb   |  2 +-
 app/helpers/textual_mixins/vm_common.rb      |  2 +-
 spec/controllers/vm_infra_controller_spec.rb | 36 ++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 2 deletions(-)

Comment 3 Matouš Mojžíš 2018-02-14 15:33:45 UTC
Verified in 5.9.0.20. I can access summary of vm with null custom attribute name.