Bug 1498471

Summary: overwriting reports causes new runs of the report to not show data for some columns
Product: Red Hat CloudForms Management Engine Reporter: Felix Dewaleyne <fdewaley>
Component: ReportingAssignee: Yuri Rudman <yrudman>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: dajohnso, fdewaley, jhardy, nansari, obarenbo, simaishi, yrudman
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.9.0.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1501475 1501478 (view as bug list) Environment:
Last Closed: 2018-03-06 14:49:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1501475, 1501478    
Attachments:
Description Flags
sample.png none

Description Felix Dewaleyne 2017-10-04 12:02:47 UTC
Description of problem:
overwriting reports causes new runs of the report to not show data for some columns

Version-Release number of selected component (if applicable):
5.8.1.5

How reproducible:
limited reproductivity

Steps to Reproduce:
1. generate a report from an affected custom report
2. export the custom report
3. import the custom report
4. generate a new report of that custom report

Actual results:
some of the rows show up empty

Expected results:
all rows behave consistently

Additional info:
lacking some info regarding a full list of fields affected, was unable to reproduce this with a random report.
database of the customer available.

Comment 4 Felix Dewaleyne 2017-10-04 12:15:30 UTC
Created attachment 1334214 [details]
sample.png

sample result

Comment 6 Yuri Rudman 2017-10-06 13:24:33 UTC
*** Bug 1487577 has been marked as a duplicate of this bug. ***

Comment 9 CFME Bot 2017-10-11 20:31:28 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/c0a6ff4b7013cf421ff126421552af1c9fab13ba

commit c0a6ff4b7013cf421ff126421552af1c9fab13ba
Author:     Yuri Rudman <yrudman>
AuthorDate: Fri Oct 6 14:17:40 2017 -0400
Commit:     Yuri Rudman <yrudman>
CommitDate: Fri Oct 6 14:50:30 2017 -0400

    symbolize keys only for 'db_options' section when importing report.
    https://bugzilla.redhat.com/show_bug.cgi?id=1498471

 app/models/miq_report/import_export.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 16 Yuri Rudman 2017-10-23 13:29:24 UTC
*** Bug 1503422 has been marked as a duplicate of this bug. ***

Comment 17 Niyaz Akhtar Ansari 2017-11-07 07:08:21 UTC
It works fine.
Verified in Version 5.9.0.5.20171102023815_209f732