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 1096223 - Undefined method session when default organization set
Summary: Undefined method session when default organization set
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Tazim Kolhar
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1095291 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-09 13:36 UTC by Eric Helms
Modified: 2019-09-26 18:15 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:07:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5645 0 None None None 2016-04-22 15:42:35 UTC

Description Eric Helms 2014-05-09 13:36:54 UTC
<pre>
NameError: undefined local variable or method `session' for Foreman::Controller::UsersMixin:Module
 | /home/ehelms/workspace/foreman/app/controllers/concerns/foreman/controller/users_mixin.rb:60:in `block in set_current_taxonomies'
 | /home/ehelms/workspace/foreman/app/controllers/concerns/foreman/controller/users_mixin.rb:55:in `each'
 | /home/ehelms/workspace/foreman/app/controllers/concerns/foreman/controller/users_mixin.rb:55:in `set_current_taxonomies'
 | /home/ehelms/workspace/foreman/app/controllers/concerns/foreman/controller/authentication.rb:77:in `set_current_user'
 | /home/ehelms/workspace/foreman/app/controllers/concerns/foreman/controller/authentication.rb:18:in `authenticate'
</pre>

Comment 1 Eric Helms 2014-05-09 13:36:56 UTC
Created from redmine issue http://projects.theforeman.org/issues/5645

Comment 2 Eric Helms 2014-05-09 13:37:01 UTC
Upstream bug assigned to ehelms

Comment 6 Dominic Cleal 2014-05-20 15:01:30 UTC
*** Bug 1095291 has been marked as a duplicate of this bug. ***

Comment 9 Tazim Kolhar 2014-05-26 07:32:26 UTC
Please provide verification steps

Comment 10 Eric Helms 2014-05-27 12:58:34 UTC
Steps to verify:

1. Create a new user
2. Give that new user an organization and set a default organization afterwards
3. Hit the API as that user

Comment 11 Tazim Kolhar 2014-05-27 14:31:28 UTC
VERIFIED

Comment 12 Bryan Kearney 2014-07-02 14:07:06 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.


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