Skip to content

NoMethodError in Issues#show #7

Open
djs opened this Issue Aug 18, 2012 · 0 comments

1 participant

@djs
djs commented Aug 18, 2012

I tried installing the plugin from the old branch on a fresh install of redmine 1.4.4 and I am seeing this error when I try to view an issue:

 NoMethodError in Issues#show

Showing vendor/plugins/redmine_issues_poll/app/views/hooks/_view_polls_form.rhtml where line #16 raised:

undefined method `errors' for :bet:Symbol

Extracted source (around line #16):

13: limitations under the License. -->
14: 
15: <div id="rmipoll">
16:     <%= error_messages_for :bet %>
17:     <ul>
18:         <li class="worktime">
19:             <%= toggle_link t(:label_issue_votes), 'poll-members' %>

Trace of template inclusion: vendor/plugins/redmine_issues_poll/app/views/hooks/_view_polls_info.rhtml, app/views/issues/show.html.erb

RAILS_ROOT: /home/dan/dev/redmine
Application Trace | Framework Trace | Full Trace

/home/dan/dev/redmine/app/helpers/application_helper.rb:954:in `error_messages_for'
/home/dan/dev/redmine/app/helpers/application_helper.rb:954:in `map'
/home/dan/dev/redmine/app/helpers/application_helper.rb:954:in `error_messages_for'
/home/dan/dev/redmine/lib/redmine/hook.rb:113:in `send'
/home/dan/dev/redmine/lib/redmine/hook.rb:113:in `view_issues_show_description_bottom'
/home/dan/dev/redmine/lib/redmine/hook.rb:63:in `send'
/home/dan/dev/redmine/lib/redmine/hook.rb:63:in `call_hook'
/home/dan/dev/redmine/lib/redmine/hook.rb:63:in `each'
/home/dan/dev/redmine/lib/redmine/hook.rb:63:in `call_hook'
/home/dan/dev/redmine/lib/redmine/hook.rb:60:in `tap'
/home/dan/dev/redmine/lib/redmine/hook.rb:60:in `call_hook'
/home/dan/dev/redmine/lib/redmine/hook.rb:146:in `call_hook'
/home/dan/dev/redmine/app/views/issues/show.html.erb:85:in `_run_erb_app47views47issues47show46html46erb'
/home/dan/dev/redmine/app/controllers/issues_controller.rb:118:in `show'
/home/dan/dev/redmine/app/controllers/issues_controller.rb:115:in `show'

Request

Parameters:

{"id"=>"1"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.