Bug 1607162

Summary: Breadcrumb switcher on policy guide page is broken Error: Unable to load resources.
Product: Red Hat Satellite Reporter: Nikhil Kathole <nkathole>
Component: SCAP PluginAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: mhulan, oprazak, zhunting
Target Milestone: 6.4.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_openscap-0.10.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 19:03:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of UI
none
screen record none

Description Nikhil Kathole 2018-07-22 17:31:17 UTC
Created attachment 1469804 [details]
screenshot of UI

Description of problem: Switching using Breadcrumb switcher on policy guide page is broken Error: Unable to load resources.(see attachment)


Version-Release number of selected component (if applicable):
Satellite 6.4 snap 13

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.


Additional info:

Comment 2 Ondřej Pražák 2018-07-23 12:33:03 UTC
Created redmine issue http://projects.theforeman.org/issues/24349 from this bug

Comment 3 Satellite Program 2018-07-24 10:08:05 UTC
Upstream bug assigned to oprazak

Comment 4 Satellite Program 2018-07-24 10:08:09 UTC
Upstream bug assigned to oprazak

Comment 5 Satellite Program 2018-08-07 08:02:01 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24349 has been resolved.

Comment 7 Nikhil Kathole 2018-09-10 09:14:39 UTC
VERIFIED

Version tested:
satellite 6.4 snap 21
tfm-rubygem-foreman_openscap-0.10.3-1.el7sat.noarch

Breadcrumb switcher on policy guide page works.

Comment 8 Nikhil Kathole 2018-09-10 09:15:11 UTC
Created attachment 1482062 [details]
screen record

Comment 9 Bryan Kearney 2018-10-16 19:03:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2927