Created attachment 1405455 [details] Actual result - Adv Search remains open Description of problem: There is an error when clicking on Apply button in Adv search in My Services page when applying a loaded filter. The filter does not apply successfully. After closing Advanced search, no filter is applied on services and Search with Advanced search are missing in the page. Version-Release number of selected component (if applicable): 5.9 How reproducible: 100% Steps to Reproduce: 1. Go to Services -> My Services (you can see Active services) 2. Open Advanced search and create a filter if no filter exists 3. Click on Load button in Adv search to load some existing filter; choose some filter 4. Click on Load again and you should now see: Service search "..." was successfully loaded 5. Click on Apply button Actual results: Error occurs in log and the Adv search window remains open with no change! Expected results: Additional info: [1] pry(#<ServiceController>)> F, [2018-01-15T17:34:57.696713 #24064] FATAL -- : Error caught: [NoMethodError] undefined method `+' for nil:NilClass /home/hstastna/manageiq/manageiq-ui-classic/app/controllers/service_controller.rb:328:in `get_node_info' /home/hstastna/manageiq/manageiq-ui-classic/app/controllers/service_controller.rb:397:in `replace_right_cell' /home/hstastna/manageiq/manageiq-ui-classic/app/controllers/application_controller/advanced_search.rb:145:in `adv_search_button_apply' /home/hstastna/manageiq/manageiq-ui-classic/app/controllers/application_controller/advanced_search.rb:254:in `adv_search_button' When adv_search_button_apply method is called, x_node is changed to "root" node because we are in explorer screen. BUT there is no root node in My Services! So then @right_cell_text is nil (and it shouldn't be) so it throws an error. The issue is not present if you apply a filter by clicking on a name of the filter from accordion.
fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/3255
Created attachment 1405456 [details] Expected result - Adv Search closed and filter applied
Verified in Version 5.10.0.18.20181003162715_dfcff5a