Actions
Defect #5074
closed
Error attempting to administer Custom Fields
Status:
Closed
Priority:
High
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2010-03-15
Due date:
% Done:
100%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Affects trunk at latest revision (r3586) but don't know when it was introduced.
Processing CustomFieldsController#index (for 192.168.1.1 at 2010-03-15 11:49:59) [GET] Parameters: {"action"=>"index", "controller"=>"custom_fields"} Rendering template within layouts/admin Rendering custom_fields/index ActionView::TemplateError (undefined method `[]' for nil:NilClass) on line #17 of app/views/custom_fields/_index.rhtml: 14: <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%> 15: <tr class="<%= cycle("odd", "even") %>"> 16: <td><%= link_to custom_field.name, :action => 'edit', :id => custom_field %></td> 17: <td align="center"><%= l(CustomField::FIELD_FORMATS[custom_field.field_format][:name]) %></td> 18: <td align="center"><%= image_tag 'true.png' if custom_field.is_required? %></td> 19: <% if tab[:name] == 'IssueCustomField' %> 20: <td align="center"><%= image_tag 'true.png' if custom_field.is_for_all? %></td> app/views/custom_fields/_index.rhtml:17:in `_run_rhtml_app47views47custom_fields47_index46rhtml_locals_index_object_tab' app/views/custom_fields/_index.rhtml:14:in `each' app/views/custom_fields/_index.rhtml:14:in `_run_rhtml_app47views47custom_fields47_index46rhtml_locals_index_object_tab' app/views/common/_tabs.rhtml:24:in `_run_rhtml_app47views47common47_tabs46rhtml_locals_object_tabs' app/views/common/_tabs.rhtml:23:in `each' app/views/common/_tabs.rhtml:23:in `_run_rhtml_app47views47common47_tabs46rhtml_locals_object_tabs' app/helpers/application_helper.rb:180:in `render_tabs' app/views/custom_fields/index.rhtml:3:in `_run_rhtml_app47views47custom_fields47index46rhtml' ....
Actions