Project

General

Profile

Qustion; when no sprint created, there is 500 errormessage when go to srcum module

Added by an li over 9 years ago

I found if no sprint has created yet, there will 500 error message, and the production.log will has this record, is it the original design? Can it be changed to another message notifying way? For 500 error easily to make redmine users think redmine has some issue, maybe not using such error way.

:)

Started GET "/redmine/projects/xx/sprints" for X.X.X.X at 2014-11-10 15:33:29 +0800
Processing by SprintsController#index as HTML
Parameters: {"project_id"=>"ds-msg-osvtool"}
Current user: ***** (id=86)
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 (15.6ms)
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 (140.4ms)
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 671ms (Views: 624.0ms | ActiveRecord: 15.6ms)


Replies (2)

RE: Qustion; when no sprint created, there is 500 errormessage when go to srcum module - Added by an li over 9 years ago

I forgot to delete ip and user name, can you help to remove that unsafe info..thanks:)

I found if no sprint has created yet, there will 500 error message, and the production.log will has this record, is it the original design? Can it be changed to another message notifying way? For 500 error easily to make redmine users think redmine has some issue, maybe not using such error way.

:)

Started GET "/redmine/projects/xx/sprints" for xx at 2014-11-10 15:33:29 +0800
Processing by SprintsController#index as HTML
Parameters: {"project_id"=>"xx"}
Current user: xx (id=86)
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 (15.6ms)
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 (140.4ms)
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 671ms (Views: 624.0ms | ActiveRecord: 15.6ms)

RE: Qustion; when no sprint created, there is 500 errormessage when go to srcum module - Added by Emilio González Montaña over 9 years ago

Please add a PBI in the product backlog, I agree with your point.

PS: I deleted the data you required.

    (1-2/2)