Description of problem: There is a problem in All Service Catalog Items screen: clicking on a newly created Catalog Item in the list throws an error, nothing happens in the UI, Catalog Item's summary screen is not displayed, it is not possible to view the Catalog Item's info. Version-Release number of selected component (if applicable): 5.10.3 How reproducible: always Steps to Reproduce: 1. Go to Services > Catalogs > Catalog Items accordion 2. Configuration > Add a New Catalog Item, choose some Catalog Item type 3. Fill in the required info and click on Add button 4. After successful saving the Catalog Item, click on the same Catalog Item in the list, in All Service Catalog Items screen to view its details Actual results: Clicking on a newly created Catalog Item in the list throws an error, nothing happens in the UI, Catalog Item's summary screen is not displayed. [----] F, [2019-04-23T15:52:30.005889 #23768:2ac1b3113290] FATAL -- : Error caught: [ActiveRecord::RecordNotFound] Couldn't find ServiceTemplateCatalog with 'id'= /home/hstastna/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activerecord-5.0.7.2/lib/active_record/core.rb:173:in `find' /home/hstastna/manageiq/manageiq-ui-classic/app/controllers/catalog_controller.rb:1897:in `open_parent_nodes' /home/hstastna/manageiq/manageiq-ui-classic/app/controllers/catalog_controller.rb:1947:in `replace_right_cell' /home/hstastna/manageiq/manageiq-ui-classic/app/controllers/application_controller/explorer.rb:177:in `tree_select' /home/hstastna/manageiq/manageiq-ui-classic/app/controllers/catalog_controller.rb:278:in `x_show' Expected results: Catalog Item's summary screen is displayed, its Basic Info, and it is possible to edit the item, to delete it etc. Additional info: Clicking on the Catalog Item from the accordion in the tree does not throw an error and everything works fine, the summary screen is displayed properly. Only clicking on the Catalog Item from the list is problematic. Another clicks on the same Catalog Item (or some another one, recently created) or refreshing the page don't help.
Additional note: The same problem occurs with Catalog Bundle.
fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/5481
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/507ee89d84566000aa009dea9180f6948f3b1d0f commit 507ee89d84566000aa009dea9180f6948f3b1d0f Author: Hilda Stastna <hstastna> AuthorDate: Tue Apr 23 12:21:42 2019 -0400 Commit: Hilda Stastna <hstastna> CommitDate: Tue Apr 23 12:21:42 2019 -0400 Fix error when clicking on created Catalog Item in the list Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1702343 app/controllers/catalog_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Verified in Version 5.11.0.2.20190430174828_0e34dea