Project

General

Profile

Actions

Bug #5645

closed

Undefined method session when default organization set

Added by Eric Helms over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

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'
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Description updated (diff)
  • Category set to Authentication
  • Translation missing: en.field_release set to 16
Actions #2

Updated by Eric Helms over 10 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1096223
Actions #3

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.8.3
Actions #4

Updated by Eric Helms over 10 years ago

Steps to reproduce:

1. Create a new user and attach them to an organization
2. Save the user
3. Edit the user and set a default organization
4. Create a new role and give the user some simple permission
5. Log in as that user

Actions #5

Updated by Lukas Zapletal over 10 years ago

Update: You need to hit the API to reproduce this one.

Actions #6

Updated by Anonymous over 10 years ago

  • Target version changed from 1.8.3 to 1.8.2
Actions #7

Updated by Eric Helms over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF