Bug 1632847

Summary: Copying a custom report from a custom report menu changes source report name
Product: Red Hat CloudForms Management Engine Reporter: Tuan <tuado>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Parthvi Vala <pvala>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.9.4CC: dmetzger, hkataria, jprause, lavenel, mpovolny, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.22 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1641771 (view as bug list) Environment:
Last Closed: 2019-02-12 16:51:44 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: 1641771    

Description Tuan 2018-09-25 16:36:51 UTC
Created attachment 1486814 [details]
Video

Description of problem:

Copying a custom report from a custom report menu changes the "source" report name for the user.  Going back to Super Admin the original report still exists.

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

How reproducible:
Everytime

Steps to Reproduce:
See Video.

Actual results:


Expected results:


Additional info:

Comment 2 Harpreet Kataria 2018-09-26 16:20:39 UTC
Tuan,

Please retest after https://github.com/ManageIQ/manageiq-ui-classic/pull/4699 is merged.

Thanks,
~Harpreet

Comment 6 CFME Bot 2018-10-25 17:46:38 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/0a544f669647637033b9da80c84d8302636db0f3
commit 0a544f669647637033b9da80c84d8302636db0f3
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Thu Oct 25 06:08:31 2018 -0400
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Thu Oct 25 06:08:31 2018 -0400

    Merge pull request #4824 from h-kataria/fix_copying_of_report

    Only update report name in group reports menu when editing a report

    (cherry picked from commit c0034b914089ccdf8eead1906283cd28e4e25ba2)

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

 app/controllers/report_controller/reports/editor.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Parthvi Vala 2018-11-06 08:06:36 UTC
FIXED. Verified on 5.10.0.22.20181030184024_26956a0.