Open nicolas76600 opened 10 years ago
Hi, I have the same error. You could fix it?
Thx.-
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
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 :
Started PUT "/issues/11" for 127.0.0.1 at 2014-07-11 09:49:58 +0200 Processing by IssuesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gc90kEgOyd3CmTZsBwEIbwqPPHedEo/ScgX3fgJIdWk=", "issue"=>{"is_private"=>"0", "project_id"=>"1", "tracker_id"=>"1", "subject"=>"test", "description"=>"demande spéciale", "status_id"=>"2", "priority_id"=>"2", "assigned_to_id"=>"1", "parent_issue_id"=>"", "start_date"=>"2014-07-10", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0", "project_ids"=>[""], "notes"=>"mpmpmkkpj", "private_notes"=>"0", "lock_version"=>"3"}, "new_checklist"=>"", "time_entry"=>{"hours"=>"", "activity_id"=>"8", "comments"=>""}, "note"=>{"question_assigned_to"=>"3"}, "last_journal_id"=>"40", "commit"=>"Soumettre", "id"=>"11"} Current user: admin (id=1) Rendered mailer/_issue.text.erb (6.0ms) Rendered mailer/issue_edit.text.erb within layouts/mailer (7.0ms) Rendered mailer/_issue.html.erb (3.0ms) Rendered mailer/issue_edit.html.erb within layouts/mailer (4.0ms) Email delivery error: getaddrinfo: Le nom demandé est valide, mais aucune donnée du type requise n’a été trouvée. Rendered mailer/_issue.text.erb (77.0ms) Rendered plugins/question_plugin/app/views/question_mailer/asked_question.erb within layouts/mailer (78.0ms) Completed 500 Internal Server Error in 278.0ms
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:inblock in mail' app/models/mailer.rb:410:in
mail' app/models/mailer.rb:423:ininitialize' app/models/mailer.rb:446:in
method_missing' app/models/journal.rb:54:insave' app/models/issue.rb:1515:in
create_journal' app/models/issue.rb:165:increate_or_update' app/controllers/issues_controller.rb:478:in
block in save_issue_with_child_records' app/controllers/issues_controller.rb:466:insave_issue_with_child_records' app/controllers/issues_controller.rb:188:in
update'thanks for your help.