Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 1524474 [details] Bug Demo Description of problem: Setting the `Edit Report Menus` to default doesn't really reset the menu to default. Version-Release number of selected component (if applicable): 5.9.8 How reproducible: Always Steps to Reproduce: 1. Add a new report or copy an existing report, say `testing report`. 2. Move the newly created report to a menu, say 'Tenants > Tenant Quotas'. 3. Check if the report is visible under the menu. 4. Go back to `Edit Report Menus`, and click on `Default`. 5. Click on 'Tenant Quotas' and check if the `testing report` is moved back to `available reports`. 6. Click on `Save`. 7. Go to `Edit Report Menus` > group > Tenants > Tenant Quotas, and see if the report `testing report` is still visible under `Tenant Quotas`. Actual results: Report `testing report` is still visible under `Tenants > Tenant Quotas`. Expected results: Report `testing report` must not be visible under the menu and things should be set back to default. Additional info: `Default` does not work correctly until the changes are committed. After the 5th step, if you go to `Tenants > Tenant Quotas` and click on `Commit` and then click `Save`, the menu will be set to default. Issue exists on 5.10 as well.
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/828d1922b9901085417a6c80cae2726ac3fd9274 commit 828d1922b9901085417a6c80cae2726ac3fd9274 Author: Dávid Halász <dhalasz> AuthorDate: Thu Jan 31 04:46:58 2019 -0500 Commit: Dávid Halász <dhalasz> CommitDate: Thu Jan 31 04:46:58 2019 -0500 Delete the "report_menus" instead of :report_menus when resetting Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1670293 app/controllers/report_controller/menus.rb | 2 +- spec/controllers/miq_report_controller/menus_spec.rb | 18 + 2 files changed, 19 insertions(+), 1 deletion(-)
FIXED. Verified on 5.11.0.2.20190430174828_0e34dea.