Project

General

Profile

Actions

Bug #4111

open

undefined method `icon_for_mime_type'

Added by liaham 6 days ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Affected Version:
Compatible Redmine Version:
6.0.z
Breaking change?:
No
Requires Documentation?:
No

Description

F, [2025-10-10T16:05:31.160029 #1] FATAL -- :
ActionView::Template::Error (undefined method `icon_for_mime_type' for an instance of RedmineDmsf::FieldFormats::DmsfFileRevisionFormat):

Causes:
NoMethodError (undefined method `icon_for_mime_type' for an instance of RedmineDmsf::FieldFormats::DmsfFileRevisionFormat)
    80:     rows.right l(:label_spent_time), issue_spent_hours_details(@issue), :class => 'spent-time'
    81:   end
    82: end %>
    83: <%= render_half_width_custom_fields_rows(@issue) %>
    84: <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
    85: </div>
    86:

plugins/redmine_dmsf/lib/redmine_dmsf/field_formats/dmsf_file_revision_format.rb:86:in `formatted_value'
lib/redmine/field_format.rb:248:in `formatted_custom_value'
app/helpers/application_helper.rb:327:in `format_object'
app/helpers/custom_fields_helper.rb:166:in `show_value'
app/helpers/custom_fields_helper.rb:155:in `custom_field_value_tag'
plugins/redmine_colored_enumeration/lib/colored_enumeration/overrides/issues_helper_patch.rb:46:in `block (2 levels) in render_half_width_custom_fields_rows'
plugins/redmine_colored_enumeration/lib/colored_enumeration/overrides/issues_helper_patch.rb:42:in `each'
plugins/redmine_colored_enumeration/lib/colored_enumeration/overrides/issues_helper_patch.rb:42:in `each_with_index'
plugins/redmine_colored_enumeration/lib/colored_enumeration/overrides/issues_helper_patch.rb:42:in `block in render_half_width_custom_fields_rows'
app/helpers/issues_helper.rb:372:in `issue_fields_rows'
plugins/redmine_colored_enumeration/lib/colored_enumeration/overrides/issues_helper_patch.rb:41:in `render_half_width_custom_fields_rows'
app/views/issues/show.html.erb:83
app/controllers/issues_controller.rb:120:in `block (2 levels) in show'
app/controllers/issues_controller.rb:112:in `show'
lib/redmine/sudo_mode.rb:78:in `sudo_mode'

No data to display

Actions

Also available in: Atom PDF