Bug 1535192
Summary: | Unable to browse VM Summary Screen with a NULL Custom Attribute name | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | myoder | |
Component: | UI - OPS | Assignee: | Martin Povolny <mpovolny> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.8.0 | CC: | cpelland, dclarizi, hkataria, lavenel, mpovolny, obarenbo, simaishi | |
Target Milestone: | GA | Keywords: | TestOnly | |
Target Release: | 5.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1536052 1536168 (view as bug list) | Environment: | ||
Last Closed: | 2018-06-21 21:03:50 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | Bug | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | CFME Core | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1536052, 1536168 |
Description
myoder
2018-01-16 19:43:36 UTC
I'd say that the backend should not allow a null value for the name. It makes no sense. However to fix the situation for the customer I am going to handle the null value on the UI side. New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/92d158ae42f676cd39d0303166662f848d3c7852 commit 92d158ae42f676cd39d0303166662f848d3c7852 Author: Martin Povolny <mpovolny> AuthorDate: Thu Jan 18 11:58:26 2018 +0100 Commit: Martin Povolny <mpovolny> CommitDate: Thu Jan 18 15:12:57 2018 +0100 Vm display: don't crash on custom attributes with null name. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1535192 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(-) |