Redmine 500 internal error Check Help
Added by li an over 10 years ago
Background¶
Recent days I founded there is 500 Internal error occurs, not each time, but a bit influences the usage, all 500 internal error happens when creating a new issue, updating a issue, search a issue, using code review, issue calendar and such issue related operations.
But I am not so familiar with the log tracing, can anyone help to explain and guiding the check direction?
I think some maybe plug-in or plug-in confict, but some are not confirmed.
Plug-in Info.¶
gemfile are attached, too.
Possibe plug-in having bug or confilct with others:
- Plugin add select2 component to redmine https://github.com/Undev/redmine__select2 redmine__select2 1.0.5
- RedmineSimple plugin Simplify redmine interface https://github.com/Undev/redmine_simple redmine_simple 1.1.5
- Redmine Code Review plugin This is a Code Review plugin for Redmine http://www.r-labs.org/projects/show/codereview redmine_code_review 0.6.3
Environment: Redmine version 2.3.2.stable Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32] Rails version 3.2.13 Environment production Database adapter Mysql2
- All installed plug-ins:
clipboard_image_paste 1.8 copy_parent_issue_id 1.0.0----issue relevant fields_permissions 1.0.0 localizable 0.3.0----issue relevant progressive_projects_list 1.0.0 redmine_agile 1.3.4 redmine_all_files 0.0.3 redmine_app__space 1.0.3 redmine_banner 0.0.9 redmine_better_gantt_chart 0.9.0 redmine_changelog 0.0.1 redmine_checkbox_wiki 0.0.1 redmine_checklists 3.0.1----issue relevant redmine_close_button 0.0.8----issue relevant redmine_code_review 0.6.3----issue relevant redmine__select2 1.0.5----redmine_simple dependency redmine_simple 1.1.5----issue relevant redmine_tags 2.1.0----issue relevant redmine_custom_reports 0.1.4----issue relevant redmine_daily_scrum 0.0.1 redmine_dashboard 2.3.3 redmine_didyoumean 1.2.0----issue relevant redmine_documents_short 0.3.0 redmine_issue_statistics 0.0.1----issue relevant redmine_issue_templates 0.0.8----issue relevant redmine_user_mentions 1.1.0----issue relevant redmine_knowledgebase 3.0.4 redmine_lightbox 0.0.1 redmine_login_audit 0.1.5 redmine_logs 0.0.5 redmine_message_issues 0.1.0 redmine_monitoring_controlling 0.1.1 redmine_my_page_queries 2.1.6 redmine_new_user_notification 0.0.1 redmine_parking_lot_chart 0.0.7 redmine_pdf_export_backports 0.0.1 redmine_plugin_views_revisions 0.0.1 redmine_recent_wiki_pages 0.0.1 redmine_release_notes 1.3.1----issue relevant redmine_reminder 0.3.1 redmine_theme_changer 0.1.0 redmine_time_entry_limit 0.0.2 redmine_touch 0.0.2----issue relevant redmine_wiki_backlinks 0.0.2 redmine_wiki_notes 0.0.2 redmine_wiki_templates 0.1.1 redmine_xls_export 0.2.1.t6----issue relevant redmine_xlsx_format_issue_exporter 0.1.0----issue relevant scrum 0.7.0 sidebar_hide 0.0.6 wiking 1.0.0b
Production.log¶
No internal error, but there is a warning¶
Question
when a user created or updated a issue, there is such warning in the log, what does that mean? Do I need to handle with that? How tho deal with this warning?*
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from block in render_on at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/lib/redmine/hook.rb:111)
500 internal error¶
- cannot specify which leads thi error, seems relevant with calendar and repository,
log 1:
Started GET "/redmine/projects/xx/repository/xx/xx.pptx" for xx at 2014-11-04 13:26:21 +0800 Processing by RepositoriesController#annotate as HTML Parameters: {"id"=>"xx", "path"=>"xx/xx.pptx"} Current user: xx (id=279) Rendered common/error.html.erb within layouts/base (0.0ms) Rendered plugins/redmine_code_review/app/views/code_review/_html_header.html.erb (0.0ms) Rendered plugins/redmine_create_wiki_page/app/views/create_wiki_page/_init_create_wiki_page.erb (0.0ms) Rendered inline template (0.0ms) Rendered plugins/scrum/app/views/scrum_hooks/_head.html.erb (0.0ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_headers.html.erb (0.0ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_sidebar.html.erb (0.0ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_recent_projects.html.erb (0.0ms) Rendered plugins/redmine_banner/app/views/banner/_project_body_bottom.html.erb (0.0ms) Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (0.0ms) Rendered plugins/redmine_banner/app/views/banner/_body_bottom.html.erb (15.6ms) Rendered plugins/redmine_banner/app/views/banner/_after_top_menu.html.erb (15.6ms) Rendered plugins/redmine_code_review/app/views/code_review/_change_entry_norevision_view.html.erb (171.6ms) Rendered plugins/redmine_code_review/app/views/code_review/_body_bottom.html.erb (296.4ms) Rendered plugins/redmine_user_mentions/app/views/hooks/redmine_user_mentions/_edit_mentionable.html.erb (62.4ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_add_form.html.erb (0.0ms) Completed 500 Internal Server Error in 920ms (Views: 452.4ms | ActiveRecord: 31.2ms)
log 2:
Started GET "/redmine/projects/xxx/issues/calendar" for xxx at 2014-11-03 14:03:43 +0800 Processing by CalendarsController#show as HTML Parameters: {"project_id"=>"xxx"} Current user: xxx (id=218) Query::StatementInvalid: Mysql2::Error: Column 'start_date' in where clause is ambiguous: SELECT `issues`.`id` AS t0_r0, `issues`.`tracker_id` AS t0_r1, `issues`.`project_id` AS t0_r2, `issues`.`subject` AS t0_r3, `issues`.`description` AS t0_r4, `issues`.`due_date` AS t0_r5, `issues`.`category_id` AS t0_r6, `issues`.`status_id` AS t0_r7, `issues`.`assigned_to_id` AS t0_r8, `issues`.`priority_id` AS t0_r9, `issues`.`fixed_version_id` AS t0_r10, `issues`.`author_id` AS t0_r11, `issues`.`lock_version` AS t0_r12, `issues`.`created_on` AS t0_r13, `issues`.`updated_on` AS t0_r14, `issues`.`start_date` AS t0_r15, `issues`.`done_ratio` AS t0_r16, `issues`.`estimated_hours` AS t0_r17, `issues`.`parent_id` AS t0_r18, `issues`.`root_id` AS t0_r19, `issues`.`lft` AS t0_r20, `issues`.`rgt` AS t0_r21, `issues`.`is_private` AS t0_r22, `issues`.`closed_on` AS t0_r23, `issues`.`sprint_id` AS t0_r24, `issues`.`position` AS t0_r25, `projects`.`id` AS t1_r0, `projects`.`name` AS t1_r1, `projects`.`description` AS t1_r2, `projects`.`homepage` AS t1_r3, `projects`.`is_public` AS t1_r4, `projects`.`parent_id` AS t1_r5, `projects`.`created_on` AS t1_r6, `projects`.`updated_on` AS t1_r7, `projects`.`identifier` AS t1_r8, `projects`.`status` AS t1_r9, `projects`.`lft` AS t1_r10, `projects`.`rgt` AS t1_r11, `projects`.`inherit_members` AS t1_r12, `projects`.`product_backlog_id` AS t1_r13, `issue_statuses`.`id` AS t2_r0, `issue_statuses`.`name` AS t2_r1, `issue_statuses`.`is_closed` AS t2_r2, `issue_statuses`.`is_default` AS t2_r3, `issue_statuses`.`position` AS t2_r4, `issue_statuses`.`default_done_ratio` AS t2_r5, `trackers`.`id` AS t3_r0, `trackers`.`name` AS t3_r1, `trackers`.`is_in_chlog` AS t3_r2, `trackers`.`position` AS t3_r3, `trackers`.`is_in_roadmap` AS t3_r4, `trackers`.`fields_bits` AS t3_r5, `users`.`id` AS t4_r0, `users`.`login` AS t4_r1, `users`.`hashed_password` AS t4_r2, `users`.`firstname` AS t4_r3, `users`.`lastname` AS t4_r4, `users`.`mail` AS t4_r5, `users`.`admin` AS t4_r6, `users`.`status` AS t4_r7, `users`.`last_login_on` AS t4_r8, `users`.`language` AS t4_r9, `users`.`auth_source_id` AS t4_r10, `users`.`created_on` AS t4_r11, `users`.`updated_on` AS t4_r12, `users`.`type` AS t4_r13, `users`.`identity_url` AS t4_r14, `users`.`mail_notification` AS t4_r15, `users`.`salt` AS t4_r16, `users`.`apps` AS t4_r17, `enumerations`.`id` AS t5_r0, `enumerations`.`name` AS t5_r1, `enumerations`.`position` AS t5_r2, `enumerations`.`is_default` AS t5_r3, `enumerations`.`type` AS t5_r4, `enumerations`.`active` AS t5_r5, `enumerations`.`project_id` AS t5_r6, `enumerations`.`parent_id` AS t5_r7, `enumerations`.`position_name` AS t5_r8, `sprints`.`id` AS t6_r0, `sprints`.`name` AS t6_r1, `sprints`.`description` AS t6_r2, `sprints`.`start_date` AS t6_r3, `sprints`.`end_date` AS t6_r4, `sprints`.`user_id` AS t6_r5, `sprints`.`project_id` AS t6_r6, `sprints`.`created_on` AS t6_r7, `sprints`.`updated_on` AS t6_r8, `sprints`.`is_product_backlog` AS t6_r9 FROM `issues` LEFT OUTER JOIN `projects` ON `projects`.`id` = `issues`.`project_id` LEFT OUTER JOIN `issue_statuses` ON `issue_statuses`.`id` = `issues`.`status_id` LEFT OUTER JOIN `trackers` ON `trackers`.`id` = `issues`.`tracker_id` LEFT OUTER JOIN `users` ON `users`.`id` = `issues`.`assigned_to_id` LEFT OUTER JOIN `enumerations` ON `enumerations`.`id` = `issues`.`priority_id` AND `enumerations`.`type` IN ('IssuePriority') LEFT OUTER JOIN `sprints` ON `sprints`.`id` = `issues`.`sprint_id` WHERE (((projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking')) AND ((projects.id IN (26) AND ((issues.is_private = 0 OR issues.author_id = 218 OR issues.assigned_to_id IN (218,40,72,239)))) OR (projects.id IN (6) AND ((issues.is_private = 0 OR issues.author_id = 218 OR issues.assigned_to_id IN (218,40,72,239)))) OR (projects.id IN (6) AND ((issues.is_private = 0 OR issues.author_id = 218 OR issues.assigned_to_id IN (218,40,72,239))))))) AND (((start_date BETWEEN '2014-10-26' AND '2014-12-06') OR (due_date BETWEEN '2014-10-26' AND '2014-12-06'))) AND ((issues.status_id IS NOT NULL) AND (issues.tracker_id IN ('10')) AND projects.id = 6) Rendered common/error.html.erb within layouts/base (15.6ms) Rendered plugins/redmine_code_review/app/views/code_review/_html_header.html.erb (15.6ms) Rendered plugins/redmine_create_wiki_page/app/views/create_wiki_page/_init_create_wiki_page.erb (0.0ms) Rendered inline template (0.0ms) Rendered plugins/scrum/app/views/scrum_hooks/_head.html.erb (0.0ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_headers.html.erb (0.0ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_sidebar.html.erb (0.0ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_recent_projects.html.erb (15.6ms) Rendered plugins/redmine_banner/app/views/banner/_project_body_bottom.html.erb (0.0ms) Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (0.0ms) Rendered plugins/redmine_banner/app/views/banner/_body_bottom.html.erb (15.6ms) Rendered plugins/redmine_banner/app/views/banner/_after_top_menu.html.erb (15.6ms) Rendered plugins/redmine_code_review/app/views/code_review/_body_bottom.html.erb (0.0ms) Rendered plugins/redmine_user_mentions/app/views/hooks/redmine_user_mentions/_edit_mentionable.html.erb (62.4ms) Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_add_form.html.erb (0.0ms) Completed 500 Internal Server Error in 1357ms (Views: 483.6ms | ActiveRecord: 78.0ms)
- I think some plug-ins leads the error, logs are below
log 1:
I guess it is for this plug-in: redmine__select2 1.0.5----redmine_simple dependency redmine_simple 1.1.5
Started GET "/redmine/issues/3502" for xxx at 2014-11-18 08:45:37 +0800 Processing by IssuesController#show as HTML Parameters: {"id"=>"3502"} Current user: xx (id=47) Creating scope :sorted. Overwriting existing method Group.sorted. [1;32mDeface:[0m 1 overrides found for 'issues/show' [1;32mDeface:[0m 'simplify_issue_edit_partial' matched 1 times with 'code:contains("render :partial => 'edit'")' [1;32mDeface: [WARNING][0m No :original defined for 'simplify_issue_edit_partial', you should change its definition to include: :original => 'bf0134266b0492cb1fe9dbe2d9b1b98dc6cfff81' [1;32mDeface:[0m 1 overrides found for 'issues/show' [1;32mDeface:[0m 'simplify_issue_edit_partial' matched 0 times with 'code:contains("render :partial => 'edit'")' Rendered issues/_action_menu.html.erb (30.0ms) Rendered plugins/redmine_close_button/app/views/issues/_close_button.html.erb (0.0ms) Rendered plugins/redmine_code_review/app/views/code_review/_issues_show_details_bottom.html.erb (50.0ms) Rendered plugins/redmine_tags/app/views/issues/_tags.html.erb (30.0ms) Rendered plugins/scrum/app/views/scrum_hooks/issues/_show.html.erb (130.0ms) Rendered plugins/redmine_better_gantt_chart/app/views/issues/_show_estimated_duration.html.erb (30.0ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist.html.erb (20.0ms) Rendered issues/_history.html.erb (10.0ms) Rendered issues/_action_menu.html.erb (0.0ms) [1;32mDeface:[0m 1 overrides found for 'issues/_edit' [1;32mDeface:[0m 'simplify_issue_edit' matched 1 times with 'code:contains("preview_link preview_edit_issue_path(:project_id => @project, :id => @issue), 'issue-form'")' [1;32mDeface: [WARNING][0m No :original defined for 'simplify_issue_edit', you should change its definition to include: :original => '36b7936b54a9ceeacd98731bbd833b207b01bdf5' Rendered plugins/redmine_recent_issues/app/views/recent_issues/_list.html.erb (0.0ms) [1;32mDeface:[0m 1 overrides found for 'issues/_attributes' [1;32mDeface:[0m 'issue_attributes_hidden_assignee' matched 1 times with 'code:contains("f.select :assigned_to_id")' [1;32mDeface: [WARNING][0m No :original defined for 'issue_attributes_hidden_assignee', you should change its definition to include: :original => 'ae005456a5c21a1a12846116dd181da4fa833d51' [1;32mDeface:[0m 1 overrides found for 'issues/_attributes' [1;32mDeface:[0m 'issue_attributes_hidden_assignee' matched 1 times with 'code:contains("f.select :assigned_to_id")' [1;32mDeface: [WARNING][0m No :original defined for 'issue_attributes_hidden_assignee', you should change its definition to include: :original => 'ae005456a5c21a1a12846116dd181da4fa833d51' Rendered issues/_attributes.html.erb (140.4ms) Rendered issues/_form.html.erb (327.6ms) Rendered issues/_edit.html.erb (384.4ms) Rendered issues/show.html.erb within layouts/base (1224.4ms) Completed 500 Internal Server Error in 2042ms ActionView::Template::Error (undefined method `assignee_for_select' for #<#<Class:0x438d140>:0x86eb648>): 17: <% if @issue.safe_attribute? 'assigned_to_id' %> 18: <p><label><%= l(:field_assigned_to) %></label> 19: <%= f.hidden_field :assigned_to_id, :data => { 20: :initial => assignee_for_select(@issue), 21: :text => @issue.assigned_to.try(:name).to_s } %></p> 22: <% end %> 23: app/views/issues/_attributes.html.erb:20:in `block in _e87e248df9d25762357c467f1ff65f79' app/helpers/application_helper.rb:955:in `labelled_fields_for' app/views/issues/_attributes.html.erb:1:in `_e87e248df9d25762357c467f1ff65f79' app/views/issues/_form.html.erb:41:in `block in _ab8b0ee41dd1f8135ea91dcb0be35f41' app/helpers/application_helper.rb:955:in `labelled_fields_for' app/views/issues/_form.html.erb:1:in `_ab8b0ee41dd1f8135ea91dcb0be35f41' app/views/issues/_edit.html.erb:9:in `block in _9b50e8711be939f2724ea5da88b90e68' app/helpers/application_helper.rb:948:in `labelled_form_for' app/views/issues/_edit.html.erb:1:in `_9b50e8711be939f2724ea5da88b90e68' app/views/issues/show.html.erb:134:in `_19d03af08d9ecdd4cc71c7e60b2d9ba0' app/controllers/issues_controller.rb:119:in `block (2 levels) in show' app/controllers/issues_controller.rb:116:in `show' Started GET "/redmine/projects/xxx/issues/new" for xx at 2014-11-18 16:09:49 +0800 Processing by IssuesController#new as HTML Parameters: {"project_id"=>"xx"} Current user: xx (id=1) Rendered plugins/redmine_issue_templates/app/views/issue_templates/_issue_select_form.html.erb (0.0ms) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) Rendered plugins/redmine_recent_issues/app/views/recent_issues/_list.html.erb (140.4ms) [1;32mDeface:[0m 1 overrides found for 'issues/_attributes' [1;32mDeface:[0m 'issue_attributes_hidden_assignee' matched 1 times with 'code:contains("f.select :assigned_to_id")' [1;32mDeface: [WARNING][0m No :original defined for 'issue_attributes_hidden_assignee', you should change its definition to include: :original => 'ae005456a5c21a1a12846116dd181da4fa833d51' Rendered issues/_attributes.html.erb (171.6ms) Rendered issues/_form.html.erb (358.8ms) Rendered issues/new.html.erb within layouts/base (358.8ms) Completed 500 Internal Server Error in 468ms ActionView::Template::Error (undefined method `assignee_for_select' for #<#<Class:0x438d140>:0x9782c58>): 17: <% if @issue.safe_attribute? 'assigned_to_id' %> 18: <p><label><%= l(:field_assigned_to) %></label> 19: <%= f.hidden_field :assigned_to_id, :data => { 20: :initial => assignee_for_select(@issue), 21: :text => @issue.assigned_to.try(:name).to_s } %></p> 22: <% end %> 23: app/views/issues/_attributes.html.erb:20:in `block in _f7584ca375589a74835923d6a9e4b6e4' app/helpers/application_helper.rb:955:in `labelled_fields_for' app/views/issues/_attributes.html.erb:1:in `_f7584ca375589a74835923d6a9e4b6e4' app/views/issues/_form.html.erb:41:in `block in _8d9fad35d80f24f656fb8f731ff1be6f' app/helpers/application_helper.rb:955:in `labelled_fields_for' app/views/issues/_form.html.erb:1:in `_8d9fad35d80f24f656fb8f731ff1be6f' app/views/issues/new.html.erb:11:in `block in _84912b7b8cf7e94b3957b14da1d8d87c' app/helpers/application_helper.rb:948:in `labelled_form_for' app/views/issues/new.html.erb:5:in `_84912b7b8cf7e94b3957b14da1d8d87c' Started POST "/redmine/projects/xxx/issues/update_form.js" for xxx at 2014-11-18 16:10:16 +0800 Processing by IssuesController#update_form as JS Parameters: {"utf8"=>"✓", "authenticity_token"=>"Tj56ilqzaXSOhXL67kP+55j5KSz2MrD/CoEeobBbsmA=", "issue"=>{"is_private"=>"0", "tracker_id"=>"8", "subject"=>"", "description"=>"", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "category_id"=>"", "fixed_version_id"=>"", "parent_issue_id"=>"", "start_date"=>"2014-11-18", "due_date"=>"", "estimated_hours"=>"", "custom_field_values"=>{"4"=>"", "5"=>"", "9"=>"", "12"=>"", "18"=>"", "20"=>"", "23"=>[""], "25"=>"", "30"=>"", "35"=>""}, "tag_list"=>"", "sprint_id"=>"2", "pending_effort"=>"", "checklists_attributes"=>{"0"=>{"is_done"=>"0", "subject"=>"", "_destroy"=>"false", "position"=>"1", "id"=>""}}, "select2_watcher_user_ids"=>""}, "issue_template"=>"", "project_id"=>"xx"} Current user: xxx (id=1) Rendered plugins/redmine_issue_templates/app/views/issue_templates/_issue_select_form.html.erb (10.0ms) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) DEPRECATION WARNING: #watcher_tag is deprecated and will be removed in Redmine 3.0. Use #watcher_link instead. (called from watcher_tag at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/helpers/watchers_helper.rb:23) Rendered plugins/redmine_recent_issues/app/views/recent_issues/_list.html.erb (140.0ms) [1;32mDeface:[0m 1 overrides found for 'issues/_attributes' [1;32mDeface:[0m 'issue_attributes_hidden_assignee' matched 1 times with 'code:contains("f.select :assigned_to_id")' [1;32mDeface: [WARNING][0m No :original defined for 'issue_attributes_hidden_assignee', you should change its definition to include: :original => 'ae005456a5c21a1a12846116dd181da4fa833d51' Rendered issues/_attributes.html.erb (220.0ms) Rendered issues/_form.html.erb (390.0ms) Rendered plugins/redmine_simple/app/views/issues/_update_form_replacement.js.erb (390.0ms) Rendered plugins/redmine_simple/app/views/issues/update_form.js.erb (390.0ms) Completed 500 Internal Server Error in 590ms ActionView::Template::Error (undefined method `assignee_for_select' for #<#<Class:0x438d140>:0xad188f8>): 17: <% if @issue.safe_attribute? 'assigned_to_id' %> 18: <p><label><%= l(:field_assigned_to) %></label> 19: <%= f.hidden_field :assigned_to_id, :data => { 20: :initial => assignee_for_select(@issue), 21: :text => @issue.assigned_to.try(:name).to_s } %></p> 22: <% end %> 23: app/views/issues/_attributes.html.erb:20:in `block in _0d0dc56107ad742404cfb4ddb44798f2' app/helpers/application_helper.rb:955:in `labelled_fields_for' app/views/issues/_attributes.html.erb:1:in `_0d0dc56107ad742404cfb4ddb44798f2' app/views/issues/_form.html.erb:41:in `block in _f87e692fdd5cb17f489d3abdfb956d90' app/helpers/application_helper.rb:955:in `labelled_fields_for' app/views/issues/_form.html.erb:1:in `_f87e692fdd5cb17f489d3abdfb956d90'
log 2:
I guess it is code review plug-in issue, now it is 0.6.3 version in my redmine env.
Started POST "/redmine/projects/xxx/code_review/update_diff_view" for xx at 2014-11-18 17:02:19 +0800 Processing by CodeReviewController#update_diff_view as HTML Parameters: {"rev"=>"465", "path"=>"", "review_id"=>"", "action_type"=>"diff", "rev_to"=>"464", "id"=>"xx"} Current user: xx (id=20) Completed 500 Internal Server Error in 70ms TypeError (can't convert nil into String): plugins/redmine_code_review/app/controllers/code_review_controller.rb:200:in `+' plugins/redmine_code_review/app/controllers/code_review_controller.rb:200:in `update_diff_view' actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.13) lib/active_support/callbacks.rb:535:in `_run__403770982__process_action__303339908__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call' journey (1.0.4) lib/journey/router.rb:68:in `block in call' journey (1.0.4) lib/journey/router.rb:56:in `each' journey (1.0.4) lib/journey/router.rb:56:in `call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call' rack-openid (1.3.1) lib/rack/openid.rb:98:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.5) lib/rack/etag.rb:23:in `call' rack (1.4.5) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call' activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__853273317__call__480846077__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward' rack-cache (1.2) lib/rack/cache/context.rb:143:in `pass' rack-cache (1.2) lib/rack/cache/context.rb:155:in `invalidate' rack-cache (1.2) lib/rack/cache/context.rb:71:in `call!' rack-cache (1.2) lib/rack/cache/context.rb:51:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing' rack (1.4.5) lib/rack/urlmap.rb:64:in `block in call' rack (1.4.5) lib/rack/urlmap.rb:49:in `each' rack (1.4.5) lib/rack/urlmap.rb:49:in `call' thin (1.3.1) lib/thin/connection.rb:80:in `block in pre_process' thin (1.3.1) lib/thin/connection.rb:78:in `catch' thin (1.3.1) lib/thin/connection.rb:78:in `pre_process' thin (1.3.1) lib/thin/connection.rb:53:in `process' thin (1.3.1) lib/thin/connection.rb:38:in `receive_data' eventmachine-1.0.0-x86 (mingw32) lib/eventmachine.rb:187:in `run_machine' eventmachine-1.0.0-x86 (mingw32) lib/eventmachine.rb:187:in `run' thin (1.3.1) lib/thin/backends/base.rb:61:in `start' thin (1.3.1) lib/thin/server.rb:159:in `start' thin (1.3.1) lib/thin/controllers/controller.rb:86:in `start' thin (1.3.1) lib/thin/runner.rb:185:in `run_command' thin (1.3.1) lib/thin/runner.rb:151:in `run!' thin (1.3.1) bin/thin:6:in `<top (required)>' bin/thin:16:in `load' bin/thin:16:in `<main>'
Recent plug-ins list.png (23.4 KB) Recent plug-ins list.png | |||
Gemfile.lock (6.35 KB) Gemfile.lock | |||
Gemfile (3.25 KB) Gemfile |