[BUG] Redmine 2.2.1 undefined local variable or method `issues_didyoumean_event_type'
cforce opened this issue · 4 comments
This [BUG]came in with the last 2 commits.
ActionView::Template::Error (undefined local variable or method issues_didyoumean_event_type' for #<#<Class:0xc0e8538>:0xf6b9248>): 19: }; 20: </script> 21: 22: <%= javascript_tag "observeIssueSubjectField('#{@project.id}', #{@issue.id or '\'\''}, '#{issues_didyoumean_event_type}');" %> 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/_form.html.erb:44:in block in _app_views_issues__form_html_erb__850087821_112555030' app/helpers/application_helper.rb:996:in
labelled_fields_for'
app/views/issues/_form.html.erb:1:in _app_views_issues__form_html_erb__850087821_112555030' app/views/issues/_edit.html.erb:8:in
block in _app_views_issues__edit_html_erb___120103334_112125860'
app/helpers/application_helper.rb:989:in labelled_form_for' app/views/issues/_edit.html.erb:1:in
_app_views_issues__edit_html_erb___120103334_112125860'
app/views/issues/show.html.erb:136:in _app_views_issues_show_html_erb___213414361_115290710' app/controllers/issues_controller.rb:119:in
block (2 levels) in show'
app/controllers/issues_controller.rb:116:in `show'
You mean you don't get that error when running this 054b132?
This is weird, because this is the same problem @archonwang reported when he opened #33, and I am pretty sure that is the version he was looking at.
Seems to be fixed