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

Error on Issue view on RM 2.5.1 #27

Open
darioo opened this issue Nov 12, 2014 · 0 comments
Open

Error on Issue view on RM 2.5.1 #27

darioo opened this issue Nov 12, 2014 · 0 comments

Comments

@darioo
Copy link

darioo commented Nov 12, 2014

I have installed this plugin on RM 2.5.1 and when I go to issue page or I set votes on issues list I always get abn error:

  Rendered issues/show.html.erb within layouts/base (268.1ms)
Completed 500 Internal Server Error in 1395.7ms

ActionView::Template::Error (undefined method `votes_value' for #<Issue:0x00000002e71b00>):
    5:          <% end %>
    6:
    7:    <% if authorize_for('issues', 'view_votes') %>
    8:     <% vv = @issue.votes_value %>
    9:     <%= content_tag('span', vv, :class => (vv > 0? 'votes-positive': ( vv < 0 ? 'votes-negative' : ''))) %>
    10:           <% end %>
    11:
  lib/redmine/hook.rb:111:in `block in render_on'
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:158:in `call_hook'
  app/views/issues/show.html.erb:55:in `_de0f59f6eb2bba627be68ea1568fcbf3'
  app/controllers/issues_controller.rb:128:in `block (2 levels) in show'
  app/controllers/issues_controller.rb:125:in `show'

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