Restream / redmine_simple

Simplify redmine interface
Apache License 2.0
13 stars 6 forks source link

Not compatible with redmine_tagging? #6

Open jmfarina opened 8 years ago

jmfarina commented 8 years ago

Hello, I've just installed redmine_simple in a Redmine 2.4.2 with the redmine_tagging plugin version 0.0,12 (back when I installed it, newer versions threw errors in the Wiki, so I couldn't try with a newer version) and I got the following error while trying to access any project's issue list:

ActionView::Template::Error (undefined method `array_of_issue_tags?' for #<#<Class:0x00000009fc76b0>:0x00000009fd8320>):
    30:     <% previous_group = group %>
    31:   <% end %>
    32:   <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
    33:     <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
    34:     <%= raw query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %>
    35:   </tr>
    36:   <% @query.block_columns.each do |column|
  app/views/issues/_list.html.erb:33:in `block (3 levels) in _fcd7a5c3d93aca8ffa7cdde8fc8b9da0'
  app/views/issues/_list.html.erb:33:in `map'
  app/views/issues/_list.html.erb:33:in `block (2 levels) in _fcd7a5c3d93aca8ffa7cdde8fc8b9da0'
  app/helpers/issues_helper.rb:29:in `block in issue_list'
  app/helpers/issues_helper.rb:25:in `each'
  app/helpers/issues_helper.rb:25:in `issue_list'
  app/views/issues/_list.html.erb:18:in `block in _fcd7a5c3d93aca8ffa7cdde8fc8b9da0'
  app/views/issues/_list.html.erb:1:in `_fcd7a5c3d93aca8ffa7cdde8fc8b9da0'
  app/views/issues/index.html.erb:62:in `_12b10cf6c2645d8158910450460b84b2'
  app/controllers/issues_controller.rb:83:in `block (2 levels) in index'
  app/controllers/issues_controller.rb:82:in `index'

Removing redmine_simple got things back to normal. I understand that ensuring compatibility with other plugins is somewhat impossible and probably beyond your scope, but seeing that you are the author of both plugins, I figured that you probably have them co-existing and might have a clue as to what is going on.