-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only update report name in group reports menu when editing a report #4824
Conversation
Only update report name for user's group menu when editing an existing report. Since report are saved by name in user's group record for menus, updating report name while copying a report was causing an issue of showing incorrect reports in user created custom folders. Newly added and copied reports by default get added into My Company/Custom folder. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1641771
Checked commit h-kataria@fc669af with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified in the UI that when the report is copied, a new report is added.
The name is updated on edit.
Only update report name in group reports menu when editing a report (cherry picked from commit c0034b9) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1632847
Hammer backport details:
|
Only update report name in group reports menu when editing a report (cherry picked from commit c0034b9) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1641771
Gaprindashvili backport details:
|
Only update report name for user's group menu when editing an existing report. Since report are saved by name in user's group record for menus, updating report name while copying a report was causing an issue of showing incorrect reports in user created custom folders. Newly added and copied reports by default get added into My Company/Custom folder.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1632847