Bug #24349
closedBreadcrumb switcher on policy guide page is broken Error: Unable to load resources.
Description
Description of problem: Switching using Breadcrumb switcher on policy guide page is broken Error: Unable to load resources.(see attachment)
How reproducible: always
Steps to Reproduce:
1. Create two or more scap policies in satellite
2. Navigate to Hosts -> policies
3. Click on show guide button on any policy
4. Try to switch to another policy using Breadcrumb switcher.
Actual results: UI showed Error: Unable to load resources and production.log showed
2018-07-22T13:19:15 [I|app|] Started GET "/api/v2/policies?page=1&per_page=10&search=" for IP at 2018-07-22 13:19:15 -0400
2018-07-22T13:19:15 [F|app|]
2018-07-22T13:19:15 [F|app|] ActionController::RoutingError (No route matches [GET] "/api/v2/policies"):
2018-07-22T13:19:15 [F|app|]
2018-07-22T13:19:15 [F|app|] katello (3.7.0.rc1.6) lib/katello/prevent_json_parsing.rb:12:in `call'
2018-07-22T13:19:22 [I|app|] Started GET "/notification_recipients" for 10.67.116.48 at 2018-07-22 13:19:22 -0400
2018-07-22T13:19:22 [I|app|abe48] Processing by NotificationRecipientsController#index as JSON
2018-07-22T13:19:22 [I|app|abe48] Current user: admin (administrator)
2018-07-22T13:19:22 [I|app|abe48] Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.7ms)
Expected results: Policies should load.