Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1693719

Summary: User and group values of a report are not honored when importing the report
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Yuri Rudman <yrudman>
Status: VERIFIED --- QA Contact: Parthvi Vala <pvala>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.4CC: dmetzger, mshriver, obarenbo, rovalent, simaishi, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1638533 Environment:
Last Closed: 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:
Bug Depends On: 1638533    
Bug Blocks:    

Comment 2 CFME Bot 2019-03-29 17:21:10 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/2b631adc8d385e593831983d6a8d982efe7d573c
commit 2b631adc8d385e593831983d6a8d982efe7d573c
Author:     Gregg Tanzillo <gtanzill@redhat.com>
AuthorDate: Tue Jan 15 09:27:44 2019 -0500
Commit:     Gregg Tanzillo <gtanzill@redhat.com>
CommitDate: Tue Jan 15 09:27:44 2019 -0500

    Merge pull request #18270 from yrudman/keep-group-and-user-when-importing-report

    Preserve group and user when importing reports

    (cherry picked from commit 620d833a6ba2632c06cc8e9fda672a5796bcc2a7)

    https://bugzilla.redhat.com/show_bug.cgi?id=1693719

 app/models/miq_report.rb | 10 +
 app/models/miq_report/import_export.rb | 29 +-
 spec/models/miq_report/import_export_spec.rb | 71 +-
 spec/models/miq_report_spec.rb | 21 +
 4 files changed, 119 insertions(+), 12 deletions(-)

Comment 3 CFME Bot 2019-03-29 17:23:07 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/598995ec269f36094a84d264926f08a2dca83f00
commit 598995ec269f36094a84d264926f08a2dca83f00
Author:     Martin Povolny <mpovolny@redhat.com>
AuthorDate: Wed Jan 16 03:36:53 2019 -0500
Commit:     Martin Povolny <mpovolny@redhat.com>
CommitDate: Wed Jan 16 03:36:53 2019 -0500

    Merge pull request #5060 from yrudman/added-preserve-owner-checkbox

    Added "Preserve owner?" checkbox on Import report screen

    (cherry picked from commit 738d13379bc01b705544c41cac0206623796d706)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1693719

 app/controllers/report_controller.rb | 5 +-
 app/views/report/_export_custom_reports.html.haml | 3 +
 2 files changed, 7 insertions(+), 1 deletion(-)

Comment 4 Parthvi Vala 2019-04-08 07:12:59 UTC
FIXED. Verified on 5.10.3.0.20190402144650_62f3960.