Bug 1319278

Summary: Unable to select various tabs under puppetca tab of smart-proxy
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: WebUIAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, bkearney, ehelms, mmccune, rplevka, tbrisker, walden
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13718
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.15-1,rubygem-katello-3.0.0.34-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:28:56 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:
Bug Depends On: 1328487    
Bug Blocks:    

Description Kedar Bidarkar 2016-03-18 16:46:13 UTC
Description of problem:



On the smart-proxy show page, we have the "Puppet CA" Tab, which in-turn has these below tabs.

a) General
b) Certificates
c) Autosign entries

The above tabs do not get loaded currently upon clicking them.

I see the below error in the browser:

Error: [$injector:unpr] Unknown provider: eProvider <- e
http://errors.angularjs.org/1.2.9/$injector/unpr?p0=eProvider%20%3C-%20e
r/<@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:1:14773
Ot/$.$injector<@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:1:30308
n@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:1:29573
Ot/x.$injector<@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:1:30401
n@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:1:29573
r@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:1:29858
r@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:4:32730
m/this.when/s.matcher/<@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:5:511
r@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:5:1054
r@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:5:1167
kn/this.$get</c.prototype.$broadcast@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:3:3185
l@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:2:23783
fn/this.$getkn/this.$get</c.prototype.$eval@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:3:1954
kn/this.$get</c.prototype.$digest@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:3:654
kn/this.$get</c.prototype.$apply@https://abc.redhat.com/assets/bastion/bastion-da63d18ea32fb7ba02e57c8c5bdc22689a2bee4cbf23b20f7cd975577b8bee6f.js:3:2275
fn/this.$getit.event.dispatch@https://abc.redhat.com/assets/application-9e1b8cb558d4244d3c0ba8e714ce09141fae0a7417e5c7c02a4adeb3014b4078.js:26:1060
it.event.add/g.handle@https://abc.redhat.com/assets/application-9e1b8cb558d4244d3c0ba8e714ce09141fae0a7417e5c7c02a4adeb3014b4078.js:25:30738

This issue is also seen in latest stable chrome version : 48.0.2564.116 (64-bit)

Version-Release number of selected component (if applicable):
SNAP4-compose1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
the page doesn't  load upon selection

Expected results:
the page should  load upon selection

Additional info:

Comment 1 Kedar Bidarkar 2016-03-18 16:46:59 UTC
The upstream issue raised was, http://projects.theforeman.org/issues/13718

Comment 5 Walden Raines 2016-04-05 17:17:56 UTC
Created redmine issue http://projects.theforeman.org/issues/14484 from this bug

Comment 6 Walden Raines 2016-04-05 17:51:16 UTC
PR: https://github.com/Katello/katello/pull/5938

Comment 7 Bryan Kearney 2016-04-05 20:12:11 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14484 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|78492d28df02a111934cd52cb5d96be51b6218dd.

Comment 8 Tomer Brisker 2016-04-06 14:16:44 UTC
*** Bug 1313708 has been marked as a duplicate of this bug. ***

Comment 9 Roman Plevka 2016-04-08 11:37:36 UTC
FAILED QA

- The Console Error is gone, but I'm still unable to switch the tabs.
all that clicking on another tab does is appending the #ca_general/#certificates/#autosign string to the end of URL.

Workaround is refreshing the page after appending the string.

- tested on Firefox 44.0.2 and chrome Version 49.0.2623.75 (64-bit)

Comment 10 Walden Raines 2016-04-12 13:31:52 UTC
(In reply to Roman Plevka from comment #9)
> FAILED QA
> 
> - The Console Error is gone, but I'm still unable to switch the tabs.
> all that clicking on another tab does is appending the
> #ca_general/#certificates/#autosign string to the end of URL.
> 
> Workaround is refreshing the page after appending the string.
> 
> - tested on Firefox 44.0.2 and chrome Version 49.0.2623.75 (64-bit)

Do you mind opening a new bug for this issue?  I believe the tab issue to be completely unrelated.

Comment 13 Bryan Kearney 2016-04-12 16:12:28 UTC
Upstream bug assigned to walden

Comment 14 Bryan Kearney 2016-04-13 08:12:14 UTC
Upstream bug component is Content Management

Comment 16 Tomer Brisker 2016-04-17 13:00:12 UTC
I found the cause - a missing data-toggle='tab' attribute on the links. Will create PR to fix shortly, assigning to me.

Comment 17 Walden Raines 2016-04-19 13:43:00 UTC
There is another Katello related change that needs to happen so I am going to take this back and work on the fix.  See also bug #1328487 for the foreman side of this issue.

Comment 18 Walden Raines 2016-04-22 19:29:52 UTC
PR - https://github.com/Katello/katello/pull/5992

Comment 19 Bryan Kearney 2016-04-25 17:51:41 UTC
Removing failed QA given the new PR.

Comment 20 Walden Raines 2016-04-26 14:22:32 UTC
When cherry-picking please be sure to cherry-pick this with bug #1328487.

Comment 21 Bryan Kearney 2016-04-26 16:03:55 UTC
Upstream bug assigned to tbrisker

Comment 22 Bryan Kearney 2016-04-26 16:03:59 UTC
Upstream bug component is WebUI

Comment 23 Bryan Kearney 2016-04-26 16:04:03 UTC
Upstream bug assigned to tbrisker

Comment 24 Bryan Kearney 2016-04-26 16:14:19 UTC
Upstream bug assigned to walden

Comment 25 Bryan Kearney 2016-04-26 18:14:16 UTC
Upstream bug component is Content Management

Comment 26 Bryan Kearney 2016-04-26 19:14:59 UTC
Upstream bug assigned to tbrisker

Comment 27 Bryan Kearney 2016-04-26 19:15:02 UTC
Upstream bug component is WebUI

Comment 28 Bryan Kearney 2016-04-26 19:15:06 UTC
Upstream bug assigned to tbrisker

Comment 29 Bryan Kearney 2016-04-28 08:14:46 UTC
Upstream bug assigned to walden

Comment 30 Bryan Kearney 2016-04-28 08:14:49 UTC
Upstream bug component is Content Management

Comment 31 Bryan Kearney 2016-04-28 08:14:53 UTC
Upstream bug assigned to walden

Comment 32 Bryan Kearney 2016-05-17 20:33:44 UTC
Upstream bug assigned to tbrisker

Comment 33 Bryan Kearney 2016-05-17 20:33:47 UTC
Upstream bug component is WebUI

Comment 34 Bryan Kearney 2016-05-17 20:33:51 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14679 has been closed

Comment 35 Kedar Bidarkar 2016-05-26 11:33:03 UTC
we can now access the sub-tabs under puppet-CA, "Certificates" and "Autosign Entries".

VERIFIED with sat62-snap(GA)-12.1

Comment 36 Bryan Kearney 2016-07-27 11:28:56 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/RHBA-2016:1501