integra-consultores / questions

Other
3 stars 3 forks source link

Internal 500 error #5

Open nicolas76600 opened 10 years ago

nicolas76600 commented 10 years ago

Hi, I'm a french redmine user and I tried to add your redmine question plugin to my application and I have an internal 500 error when i submit the issue comment... i use :

ActionView::Template::Error (undefined local variable or method users' for #<#<Class:0x74f4b10>:0x7bda9a0>): 1: <%= "#{issue.tracker.name} ##{issue.id}: #{issue.subject}" %> 2: <%= issue_url %> 3: 4: <%= render_email_issue_attributes(issue, users.first) %> 5: ---------------------------------------- 6: <%= issue.description %> 7: app/views/mailer/_issue.text.erb:4:in_e15c2712f800749dba4c73b8d6070779' app/models/mailer.rb:411:in block in mail' app/models/mailer.rb:410:inmail' app/models/mailer.rb:423:in initialize' app/models/mailer.rb:446:inmethod_missing' app/models/journal.rb:54:in save' app/models/issue.rb:1515:increate_journal' app/models/issue.rb:165:in create_or_update' app/controllers/issues_controller.rb:478:inblock in save_issue_with_child_records' app/controllers/issues_controller.rb:466:in save_issue_with_child_records' app/controllers/issues_controller.rb:188:inupdate'

thanks for your help.

danimas commented 9 years ago

Hi, I have the same error. You could fix it?

Thx.-

egort commented 9 years ago

Hi Bishma, Hi everybody! Exactly the same issue here!

Environment: Redmine version 2.6.1.stable Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux] Rails version 3.2.21 Environment production Database adapter Mysql2 SCM: Subversion 1.7.14 Git 1.8.3.1 Filesystem
Redmine plugins: clipboard_image_paste 1.10 question_plugin 0.1.0 recurring_tasks 1.3.0 redmine_checklists 3.0.4 redmine_close_button 0.0.8 redmine_closes_resolved_issues 1.0.2 redmine_login_audit 0.1.5 redmine_update_reminder 1.0.1 redmine_wiki_extensions 0.6.5