Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibiliy with projects_tree_view #86

Open
demahom27 opened this issue Jan 16, 2017 · 4 comments
Open

Compatibiliy with projects_tree_view #86

demahom27 opened this issue Jan 16, 2017 · 4 comments

Comments

@demahom27
Copy link

The plugins projects_tree_view is for the display format of the project in a tree format.
After installing the wktime plugin, whenever i try to access to the 'Projects' page i get an error with the following log :

Started GET "/projects"
Processing by ProjectsController#index as HTML
  Current user: admin (id=1)
  Rendered plugins/projects_tree_view/app/views/projects/index.html.erb within layouts/base (126.8ms)
Completed 500 Internal Server Error in 143ms (ActiveRecord: 4.6ms)

ActionView::Template::Error (undefined method `favorite_project_modules_links' for #<#<Class:0x00000004b83018>:0x007fd8a4352990>):
    45:           <%= project.active? ? link_to_project(project) : h(project.name) %>
    46:           <span class="empty <%= "my-project" if User.current.member_of?(project) %>">&nbsp;</span></td>
    47:         <td><%= textilizable project.short_description.gsub(/\!.+\!/,""), :project => project %></td>
    48:         <td><%= favorite_project_modules_links(project) %></td>
    49:         <% if show_project_progress %>
    50:           <td><%= render_project_progress(project) %></td>
    51:         <% end %>
  plugins/projects_tree_view/app/views/projects/index.html.erb:48:in `block in _plugins_projects_tree_view_app_views_projects_index_html_erb___2740585350986866952_39792160'
  app/models/project.rb:796:in `block in project_tree'
  app/models/project.rb:792:in `each'
  app/models/project.rb:792:in `project_tree'
  app/helpers/application_helper.rb:375:in `project_tree'
  plugins/projects_tree_view/app/views/projects/index.html.erb:36:in `_plugins_projects_tree_view_app_views_projects_index_html_erb___2740585350986866952_39792160'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode
@dhanasingh
Copy link
Owner

dhanasingh commented Jan 16, 2017 via email

@demahom27
Copy link
Author

Redmine : 3.3.0.stable
Wktime: 2.6

@karthickmadhiazhagan
Copy link
Contributor

If you uninstall ERPmine, Is the project_tree working fine?

@demahom27
Copy link
Author

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants