Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1019896 - Org Switcher does not work on nutupane pages
Summary: Org Switcher does not work on nutupane pages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 15:10 UTC by Mike McCune
Modified: 2019-09-26 13:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-24 17:08:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2013-10-16 15:10:11 UTC
1) Org Switcher raises error and doesn't function

* Login
* Click Org Switcher
* Note lack of list and stacktrace:

[ERROR 2013-10-16 10:45:23 app 0050a01f69a0ee6ac203cb7b670b5550 #2128] Rendering 500:Missing partial /layouts/allowed_orgs with {:locale=>[:en], :formats=>["version=2", :json], :handlers=>[:erb, :builder, :haml, :rabl]}. Searched in:
 |   * "/usr/share/katello/app/views"
 |   * "/usr/share/katello/engines/fort/app/views"
 |   * "/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.0.23/app/views"
 |   * "/usr/share/katello/engines/bastion/app/views"
 |   * "/opt/rh/ruby193/root/usr/share/gems/gems/ui_alchemy-rails-1.0.12/app/views"


https://gist.github.com/mccun934/6999833

2) Products page doesn't render repos that exist in the database

* Go to Products page and create a Product + Repo
* Leave the page and come back
* Note that page is empty

Comment 2 Walden Raines 2013-10-16 15:32:04 UTC
(In reply to Mike McCune from comment #0)
> 1) Org Switcher raises error and doesn't function
> 
> * Login
> * Click Org Switcher
> * Note lack of list and stacktrace:
> 
> [ERROR 2013-10-16 10:45:23 app 0050a01f69a0ee6ac203cb7b670b5550 #2128]
> Rendering 500:Missing partial /layouts/allowed_orgs with {:locale=>[:en],
> :formats=>["version=2", :json], :handlers=>[:erb, :builder,
> :haml, :rabl]}. Searched in:
>  |   * "/usr/share/katello/app/views"
>  |   * "/usr/share/katello/engines/fort/app/views"
>  |   *
> "/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.0.23/app/
> views"
>  |   * "/usr/share/katello/engines/bastion/app/views"
>  |   *
> "/opt/rh/ruby193/root/usr/share/gems/gems/ui_alchemy-rails-1.0.12/app/
> views"

Steps to Reproduce:
 1. In FF go to a nutupane page
 2. Open the org switcher
 3. Notice 500

Comment 3 Walden Raines 2013-10-16 15:50:44 UTC
(In reply to Mike McCune from comment #0)
> 2) Products page doesn't render repos that exist in the database
> 
> * Go to Products page and create a Product + Repo
> * Leave the page and come back
> * Note that page is empty

Splitting this out into it's own bug:  https://bugzilla.redhat.com/show_bug.cgi?id=1019920

Comment 4 Walden Raines 2013-10-16 15:59:41 UTC
PR:  https://github.com/Katello/katello/pull/3193

Comment 5 Walden Raines 2013-10-16 18:30:57 UTC
commit 3c5e6e8da32fcfcf88f49a665b059b56f80569b9
Merge: 0176a83 1bdae5d
Author: Walden Raines <walden>
Date:   Wed Oct 16 11:29:15 2013 -0700

    Merge pull request #3193 from waldenraines/bug-1019896
    
    Bug #1019896 - explicitly setting accept headers for FF.

commit 1bdae5d1f16c6b314ee5ad0d67992234a0c891a0
Author: Walden Raines <walden>
Date:   Wed Oct 16 13:09:46 2013 -0400

    Bug #1019896 - explicitly setting accept headers for FF.
    
    FF was replacing headers instead of appending them so this commit
    explicitly includes 'text/plain' and '*/*' in order to fix the
    org switcher.  Also includes a padding fix for the org switcher
    in FF.

Comment 8 Corey Welton 2013-10-18 17:28:42 UTC
This appears to be fixed.

QA Verified in Satellite-6.0.2-RHEL-6-20131016.0

Comment 9 Bryan Kearney 2014-04-24 17:08:11 UTC
This was verified and delivered with MDP2. Closing it out.


Note You need to log in before you can comment on or make changes to this bug.