Patch #2136
Cannot administer projects and users
100%
Description
After successful installation of extended_fields, both
adminstration → projects and
administration → users
yield an error message:
Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your Redmine administrator for assistance. If you are the Redmine administrator, check your log files for details about the error. Back
Redmine version (in VMWare Player, TurnKey Redmine 12.0)
Redmine 1.4.4.stable (MySQL) Default administrator account changed Attachments directory writable Plugin assets directory writable RMagick available (optional)
Extended Fields version
Extended fieldsAdds new custom field types, improves listings etc.http://projects.andriylesyuk.com/projects/extended-fields Andriy Lesyuk 0.2.0b
Associated revisions
Applied fix of Alexander Kuznecov (#2136)
History
#1 Updated by Alexander Kuznecov almost 12 years ago
Hello,
We have faced with this error too:
NoMethodError (undefined method `empty?' for nil:NilClass): vendor/plugins/extended_fields/app/models/user_list_setting.rb:40:in `columns' vendor/plugins/extended_fields/app/models/user_list_setting.rb:14:in `initialize'
I have managed myself with fixing this error by changing line 40 in vendor/plugins/extended_fields/app/models/user_list_setting.rb
from fields = list_class.default_columns.collect{ |column| column.name } if fields.empty?
to fields = list_class.default_columns.collect{ |column| column.name } if fields.blank?
#2 Updated by Frank Dautzenberg almost 12 years ago
Going to try this solution in the testing environment.
How soon can we expect an updated package being available?
#3 Updated by Frank Dautzenberg almost 12 years ago
The solution was not really diffcult to test
Worked OK!
#4 Updated by Andriy Lesyuk almost 12 years ago
- Status changed from New to Open
- Assignee set to Andriy Lesyuk
#5 Updated by Andriy Lesyuk almost 12 years ago
- Tracker changed from Bug to Patch
- Due date set to 24 Jan 2013
- Status changed from Open to Closed
- % Done changed from 0 to 100
Thanks for the fix, Alexander!