Actions
Bug #5645
closedUndefined method session when default organization set
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'
Updated by Dominic Cleal over 10 years ago
- Description updated (diff)
- Category set to Authentication
- Translation missing: en.field_release set to 16
Updated by Eric Helms over 10 years ago
- Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1096223
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 1.8.3
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
Updated by Lukas Zapletal over 10 years ago
Update: You need to hit the API to reproduce this one.
Updated by Anonymous over 10 years ago
- Target version changed from 1.8.3 to 1.8.2
Updated by Eric Helms over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e44762c830161a70235428cf175537fa9544377e.
Actions