Hello,
I'm having difficult time trying to use your plugin. As long as project have no categories, it's settings page is working fine. However, when I'm trying to add new category or open project with already exiting categories, Redmine 500 error occurs.
Message from system log:
Started GET "/projects/test_backend/settings/categories" for 10.132.182.41 at 2016-04-27 16:49:09 +0200
Processing by ProjectsController#settings as HTML
Parameters: {"id"=>"test_backend", "tab"=>"categories"}
Current user: kkuziel-admin (id=77)
Rendered plugins/redmine_meeting_room_calendar/app/views/projects/_project_meeting_rooms.html.erb (0.7ms)
Rendered projects/_form.html.erb (38.8ms)
Rendered projects/_edit.html.erb (40.8ms)
Rendered projects/settings/_modules.html.erb (12.9ms)
Rendered projects/settings/_members.html.erb (21.5ms)
Rendered plugins/advanced_roadmap_v2/app/views/projects/settings/_milestones.html.erb (2.5ms)
Rendered projects/settings/_versions.html.erb (13.9ms)
Rendered plugins/redmine_category_tree/app/views/projects/settings/_issue_categories.html.erb (564.8ms)
Rendered common/_tabs.html.erb (665.0ms)
Rendered projects/settings.html.erb within layouts/base (666.5ms)
Completed 500 Internal Server Error in 687ms (ActiveRecord: 14.7ms)
ActionView::Template::Error (undefined method 'issue_category_tree' for #<#<Class:0x000000052568e0>:0x007f5b39ed1458>):
10: <th></th>
11: </tr></thead>
12: <tbody>
13: <% issue_category_tree(@project.issue_categories) do |category, level| %>
14: <% unless category.new_record? %>
15: <tr class="issue_category <%= cycle 'odd', 'even' %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
16: <td class="name"><span><%=h(category.name) %></span></td>
app/views/common/_tabs.html.erb:22:in 'block in _437c7bed7810a622c4d4f1b69fd38128'
app/views/common/_tabs.html.erb:21:in 'each'
app/views/common/_tabs.html.erb:21:in '_437c7bed7810a622c4d4f1b69fd38128'
app/helpers/application_helper.rb:321:in 'render_tabs'
app/views/projects/settings.html.erb:3:in '_1c3d66c0fad385775d8e22882599a759'
Hello, I'm having difficult time trying to use your plugin. As long as project have no categories, it's settings page is working fine. However, when I'm trying to add new category or open project with already exiting categories, Redmine 500 error occurs.
Message from system log:
Details of my installation:
Any ideas what may be causing this issue? Thanks in advance!