Added by Douglas Leonardo about 10 years ago
I create a new work package and returns me the following error:
ActionView::Template::Error (undefined method `attribute’ for nil:NilClass):
29:
30:
31:
32: <% attributes = work_package_show_attributes(work_package) %>
33:
34:
35: <% attributes[:left].each do |attribute| %>
lib/redmine/hook.rb:73:in `block (2 levels) in call_hook’
lib/redmine/hook.rb:73:in `each’
lib/redmine/hook.rb:73:in `block in call_hook’
lib/redmine/hook.rb:70:in `tap’
lib/redmine/hook.rb:70:in `call_hook’
lib/redmine/hook.rb:174:in `call_hook’
app/helpers/work_packages_helper.rb:605:in `hook_attributes’
app/helpers/work_packages_helper.rb:313:in `work_package_show_attribute_list’
app/helpers/work_packages_helper.rb:324:in `work_package_show_attributes’
app/views/work_packages/_show_attributes.html.erb:32:in `_app_views_work_packages_show_attributes_html_erb _2897517648253316873_69958483859820’
app/views/work_packages/show.html.erb:52:in `_app_views_work_packages_show_html_erb__2466184735136437115_80186040’
app/controllers/work_packages_controller.rb:75:in `block (2 levels) in show’
app/controllers/work_packages_controller.rb:73:in `show’
Help…
Replies (1)
Hi Douglas,
which version of OpenProject do you use?
Did you use the packager installation or the manual installation?
Did this error occur after a fresh installation or after updating an existing installation?
Thanks,
Robin