Bug 1563861
Summary: | Report for Storage Capacity Field Generating Error Cannot Convert Hash to Float | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | myoder | |
Component: | Reporting | Assignee: | Gregg Tanzillo <gtanzill> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Niyaz Akhtar Ansari <nansari> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.9.0 | CC: | clasohm, cpelland, nansari, obarenbo | |
Target Milestone: | GA | Keywords: | Regression, TestOnly, ZStream | |
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: | ||||
: | 1566530 (view as bug list) | Environment: | ||
Last Closed: | 2019-02-11 14:08:21 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: | 1566530 |
Description
myoder
2018-04-04 23:16:46 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/bd5d18c78d1cd300f4c43d413af659bd9b406a8f commit bd5d18c78d1cd300f4c43d413af659bd9b406a8f Author: Tim Wade <hello> AuthorDate: Tue Apr 10 15:09:02 2018 -0400 Commit: Tim Wade <hello> CommitDate: Tue Apr 10 15:09:02 2018 -0400 Don't format PersistentVolume-capacity as bytes There are other tables that have `capacity` columns that are formatted as bytes. This newer column is serialized and will blow when trying to apply this formatting to it. Since the existing way of mapping columns to formats does not take table name into account, we need a temporary way to override this for colliding column names. This can later be reworked so all mapped formats will be qualified in some way. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1563861 app/models/miq_report/formats.rb | 12 +- db/fixtures/miq_report_formats.yml | 3 + spec/models/miq_report/formats_spec.rb | 5 + 3 files changed, 16 insertions(+), 4 deletions(-) Verified in Version 5.10.0.6.20180725145922_d299ff5 |