I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Patch #2136

Cannot administer projects and users

Added by Frank Dautzenberg about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
04 Jan 2013
Due date:
24 Jan 2013
% Done:

100%

Redmine version:
External issue:

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

History

#1 Updated by Alexander Kuznecov about 10 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 about 10 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 about 10 years ago

The solution was not really diffcult to test
Worked OK!

#4 Updated by Andriy Lesyuk about 10 years ago

  • Status changed from New to Open
  • Assignee set to Andriy Lesyuk

#5 Updated by Andriy Lesyuk about 10 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!

Also available in: Atom PDF

Terms of use | Privacy policy