Actions
Bug #12467
closedChange avatar make error 'undefined local variable or method `old_avatar''
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Authentication
Target version:
-
Description
Before I noticed this bug http://projects.theforeman.org/issues/12325 I tried to change my avatar on my LDAP server.
When logout and login again I had this issue:
undefined local variable or method `old_avatar' for #<Class:0x00000005b47ee0>
The full trace is here: http://pastebin.com/PH9Y5nBj
Updated by Dominic Cleal about 9 years ago
- Category set to Authentication
- Assignee deleted (
Dominic Cleal) - Difficulty set to easy
The old_avatar variable is undefined, I think the Rails.public_path bit is meant to be assigned to a variable in order to check the file's existence.
https://github.com/theforeman/foreman/blob/1.10.0-RC2/app/models/user.rb#L205
Updated by Marek Hulán over 6 years ago
- Status changed from New to Resolved
- Fixed in Releases 1.20.0 added
Thanks Boaz, marking as resolved. Could you please link the redmine issue that solved it?
Actions