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

Issues with plugin redmine_crm #23

Open
Ying666 opened this issue Oct 5, 2016 · 0 comments
Open

Issues with plugin redmine_crm #23

Ying666 opened this issue Oct 5, 2016 · 0 comments

Comments

@Ying666
Copy link

Ying666 commented Oct 5, 2016

When we install your plugin in addition to redmine_crm ( https://www.redminecrm.com/projects/crm/pages/1 ) we get the following error:

Log:

ActionView::Template::Error (undefined method each' for #<RedmineCrm::Tag id: 35, name: "diomex">): 13: <% project_tree(@projects) do |project, level| %> 14: <tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> 15: <td><%= favorite_tag(project, User.current) %></td> 16: <% @query.columns.each do |column| %><%= content_tag 'td', column_content(column, project), :class => column.css_classes %><% end %> 17: </tr> 18: <% end %> 19: </tbody> plugins/redmine_favorite_projects/lib/redmine_favorite_projects/patches/queries_helper_patch.rb:40:incolumn_value_with_favorite_projects'
plugins/redmine_products/lib/redmine_products/patches/queries_helper_patch.rb:58:in column_value_with_products' plugins/redmine_multiprojects_issue/lib/redmine_multiprojects_issue/queries_helper_patch.rb:12:inblock in column_content_with_multiprojects_issues'
plugins/redmine_multiprojects_issue/lib/redmine_multiprojects_issue/queries_helper_patch.rb:12:in collect' plugins/redmine_multiprojects_issue/lib/redmine_multiprojects_issue/queries_helper_patch.rb:12:incolumn_content_with_multiprojects_issues'
plugins/redmine_favorite_projects/app/views/projects/_list.html.erb:16:in block (2 levels) in _1a4882b24976a664b866948292a0087c' plugins/redmine_favorite_projects/app/views/projects/_list.html.erb:16:ineach'
plugins/redmine_favorite_projects/app/views/projects/_list.html.erb:16:in block in _1a4882b24976a664b866948292a0087c' app/models/project.rb:796:inblock in project_tree'
app/models/project.rb:792:in each' app/models/project.rb:792:inproject_tree'
app/helpers/application_helper.rb:384:in project_tree' plugins/redmine_favorite_projects/app/views/projects/_list.html.erb:13:in_1a4882b24976a664b866948292a0087c'
plugins/redmine_favorite_projects/app/views/projects/index.html.erb:88:in _93388134edba0921a63dd91ad883e79d' plugins/redmine_favorite_projects/app/controllers/favorite_projects_controller.rb:44:inblock (2 levels) in search'
plugins/redmine_favorite_projects/app/controllers/favorite_projects_controller.rb:39:in search' lib/redmine/sudo_mode.rb:63:insudo_mode'

Information about our redmine:

Environment:
Redmine version 3.3.0.stable.15582
Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
Rails version 4.2.6
Environment production
Database adapter Mysql2
SCM:
Subversion 1.9.3
Git 2.7.4
Filesystem
Redmine plugins:
clipboard_image_paste 1.10
issue_hot_buttons 0.4.4
progressive_projects_list 3.0.1
redmine_auto_percent 0.0.1
redmine_banner 0.1.2
redmine_base_deface 0.0.1
redmine_changeauthor 1.0.1
redmine_checklists 3.1.5
redmine_contacts 4.0.4
redmine_contacts_helpdesk 3.0.4
redmine_favorite_projects 2.0.2
redmine_improved_searchbox 0.0.3
redmine_issue_templates 0.1.3
redmine_lightbox2 0.3.1
redmine_local_avatars 1.0.0
redmine_multiprojects_issue 3.3.0
redmine_my_page_queries 2.1.6
redmine_products 2.0.1
redmine_questions 0.0.7
redmine_recenthistory 0.0.2
redmine_silencer 0.4.1-burg
redmine_wiki_extensions 0.7.0
sidebar_hide 0.0.7
wiking 1.0.0b

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

1 participant