Skip to content

Incompatible "products" plugin from RedmineUp on Redmine 6.1.2 #26

Description

@mhier

I have upgraded from Redmine 5.1.x to Redmine 6.1.2, but the datetime_custom_field gives me an error when trying to open the "My page":

I, [2026-05-13T14:53:40.512421 #46954]  INFO -- : [c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] Started GET "/my/page" for <redacted> at 2026-05-13 14:53:40 +0000                                                                                                                             
I, [2026-05-13T14:53:40.513439 #46954]  INFO -- : [c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] Processing by MyController#page as HTML                                                                                                                                                            
I, [2026-05-13T14:53:40.529233 #46954]  INFO -- : [c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]   Current user: <redacted> (id=108)                                                                                                                                                                     
I, [2026-05-13T14:53:40.775472 #46954]  INFO -- : [c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]   Rendered layout layouts/base.html.erb (Duration: 234.3ms | GC: 7.2ms)                                                                                                                            
I, [2026-05-13T14:53:40.775853 #46954]  INFO -- : [c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] Completed 500 Internal Server Error in 262ms (ActiveRecord: 144.6ms (25 queries, 0 cached) | GC: 8.0ms)
F, [2026-05-13T14:53:40.783698 #46954] FATAL -- : [c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]   
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] ActionView::Template::Error (super: no superclass method `format_object' for #<ActionView::Base:0x00000000068010>):
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] 
Causes:
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] NoMethodError (super: no superclass method `format_object' for #<ActionView::Base:0x00000000068010>)
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]     37:   <% end %>
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]     38:   <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]     39:     <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]     40:     <% query.inline_columns.each do |column| %>
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]     41:     <%= content_tag('td', column_content(column, issue), :class => column.css_classes) %>
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]     42:     <% end %>
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]     43:     <td class="buttons hide-when-print"><%= link_to_context_menu %></td>
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e]   
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmine_datetime_custom_field/lib/redmine_datetime_custom_field/application_helper_patch.rb:42:in `format_object'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmine_products/lib/redmine_products/patches/application_helper_patch.rb:54:in `format_object_with_products'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmine_datetime_custom_field/lib/redmine_datetime_custom_field/application_helper_patch.rb:42:in `format_object'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/queries_helper.rb:287:in `column_value'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmine_checklists/lib/redmine_checklists/patches/queries_helper_patch.rb:51:in `column_value_with_checklists'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmine_contacts/lib/redmine_contacts/patches/queries_helper_patch.rb:67:in `column_value_with_contacts'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmine_contacts_invoices/lib/redmine_invoices/patches/queries_helper_patch.rb:59:in `column_value_with_invoices'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmine_people/lib/redmine_people/patches/queries_helper_patch.rb:71:in `column_value_with_people'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmineup_tags/lib/redmineup_tags/patches/queries_helper_patch.rb:42:in `column_value_with_tags'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] plugins/redmine_products/lib/redmine_products/patches/queries_helper_patch.rb:62:in `column_value_with_products'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/queries_helper.rb:247:in `column_content'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/issues/_list.html.erb:40
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/issues/_list.html.erb:39:in `each'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/issues/_list.html.erb:39
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/issues_helper.rb:46:in `block in grouped_issue_list'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/queries_helper.rb:176:in `block in grouped_query_results'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/queries_helper.rb:161:in `each'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/queries_helper.rb:161:in `grouped_query_results'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/issues_helper.rb:41:in `grouped_issue_list'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/issues/_list.html.erb:21
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/issues/_list.html.erb:4
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/my/blocks/_issues.erb:26
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/my_helper.rb:104:in `render_issuesassignedtome_block'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/my_helper.rb:64:in `render_block_content'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/my_helper.rb:35:in `render_block'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/my_helper.rb:27:in `block in render_blocks'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/my_helper.rb:26:in `each'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/helpers/my_helper.rb:26:in `render_blocks'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/my/page.html.erb:14
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/my/page.html.erb:12:in `each'
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] app/views/my/page.html.erb:12
[c9ea23c0-25af-4ce6-b210-1fd1ce7b348e] lib/redmine/sudo_mode.rb:78:in `sudo_mode'

With Redmine 6.0.9 I get the same error. This seems to be a conflict with the "Products" plugin from RedmineUp. I am not sure who is wrong here (or if there is even a "wrong"). I was using both plugins together on Redmine 5.1.10 already. When upgrading to Readmine 6.x, I also had to upgrade the Products plugin.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions