Created attachment 1387678 [details] Error in advanced_search.rb Description of problem: Tagging a datastore or a datastore cluster leads to a 500 in advanced search. Version-Release number of selected component (if applicable): 5.9. How reproducible: 100% Steps to Reproduce: 1. Go to Compute -> Infrastructure -> Datastores 2. Open Advanced Search and load AND apply some filter from there, or create some new expression and apply it OR click on some filter from Global/My Filters in accordion. 3. Clear the applied filter 4. Try to tag some datastore(s) from its details page or by checking the checkbox(es) from All Datastores (or datastore clusters) and clicking on Edit Tags under Configuration. Actual results: Tagging a datastore or a datastore cluster leads to a 500 in advanced search. Expected results: No error when entering tagging page for datastore or a datastore cluster. Additional info: The step 2 is necessary to reproduce this bug. I was not able to reproduce the bug without this step. It looks like that some variable is set to nil during this process, and this is crucial for some other actions, like tagging. The error leads to advanced_search.rb.
https://github.com/ManageIQ/manageiq-ui-classic/pull/3334
Note that the same problem occurs in Services -> My Services page.
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/42f8849a0e994e16343bed7defb0b4d34014b768 commit 42f8849a0e994e16343bed7defb0b4d34014b768 Author: Hilda Stastna <hstastna> AuthorDate: Mon Jan 29 16:10:45 2018 +0100 Commit: Hilda Stastna <hstastna> CommitDate: Thu Feb 1 19:10:43 2018 +0100 Fix broken tagging in Datastores and My Services Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1539614 Fix broken tagging in Compute -> Infrastructure -> Datastores which breaks after working with filters or Advanced search because of wrong setting of @edit. The same for My Services page. app/controllers/application_controller/advanced_search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)