プロジェクト

全般

プロフィール

Defect #1100

edit relay shows 500 error.

Steven Wongほぼ6年前に追加. ほぼ6年前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
担当者:
対象バージョン:
開始日:
2012/08/15
期日:
進捗率:

100%

予定工数:

説明

when I click edit relay tickets. it shows 500 error about [html_safe]. I used 0.2.3.

Started GET "/work_time/edit_relay/upnp?day=15&month=8&prj=false&user=39&year=2012" for 192.168.2.76 at Wed Aug 15 13:25:42 +0800 2012
Processing by WorkTimeController#edit_relay as HTML
Parameters: {"month"=>"8", "id"=>"upnp", "day"=>"15", "year"=>"2012", "prj"=>"false", "user"=>"39"}
Rendered plugins/redmine_work_time/app/views/work_time/_select_project.html.erb (195.0ms)
Rendered plugins/redmine_work_time/app/views/work_time/_relay_table.html.erb (127.4ms)
Rendered plugins/redmine_work_time/app/views/work_time/edit_relay.html.erb within layouts/base (326.4ms)
Completed 500 Internal Server Error in 707ms

ActionView::Template::Error (undefined method `html_safe' for nil:NilClass):
85: </td>
86: <td><%=cost.html_safe%></td>
87: <td><%=r_cost.html_safe%></td>
88: <td id="ticket<%=issue_id%>"> => <%=parentHtml.html_safe%>
89: <%
90: if User.current.allowed_to?(:edit_work_time_total, @project) then
91: if parent != "" then
plugins/redmine_work_time/app/views/work_time/_relay_table.html.erb:88:in `_plugins_redmine_work_time_app_views_work_time__relay_table_html_erb___1034083038__620561898'
plugins/redmine_work_time/app/views/work_time/_relay_table.html.erb:28:in `each'
plugins/redmine_work_time/app/views/work_time/_relay_table.html.erb:28:in `_plugins_redmine_work_time_app_views_work_time__relay_table_html_erb___1034083038__620561898'
plugins/redmine_work_time/app/views/work_time/_relay_table.html.erb:6:in `each'
plugins/redmine_work_time/app/views/work_time/_relay_table.html.erb:6:in `_plugins_redmine_work_time_app_views_work_time__relay_table_html_erb___1034083038__620561898'
actionpack (3.2.6) lib/action_view/template.rb:145:in `send'
actionpack (3.2.6) lib/action_view/template.rb:145:in `render'
activesupport (3.2.6) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.6) lib/action_view/template.rb:143:in `render'
actionpack (3.2.6) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
actionpack (3.2.6) lib/action_view/renderer/partial_renderer.rb:238:in `render'
actionpack (3.2.6) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
activesupport (3.2.6) lib/active_support/notifications.rb:123:in `instrument'
activesupport (3.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.6) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.6) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.6) lib/action_view/renderer/partial_renderer.rb:237:in `render'
actionpack (3.2.6) lib/action_view/renderer/renderer.rb:41:in `render_partial'
actionpack (3.2.6) lib/action_view/renderer/renderer.rb:15:in `render'
actionpack (3.2.6) lib/action_view/helpers/rendering_helper.rb:24:in `render_without_update'
prototype-rails (3.2.1) lib/prototype-rails/rendering.rb:8:in `render'
plugins/redmine_work_time/app/views/work_time/edit_relay.html.erb:21:in `_plugins_redmine_work_time_app_views_work_time_edit_relay_html_erb___475391251__620690168'
actionpack (3.2.6) lib/action_view/template.rb:145:in `send'
actionpack (3.2.6) lib/action_view/template.rb:145:in `render'
activesupport (3.2.6) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.6) lib/action_view/template.rb:143:in `render'
actionpack (3.2.6) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
actionpack (3.2.6) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
activesupport (3.2.6) lib/active_support/notifications.rb:123:in `instrument'
activesupport (3.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.6) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.6) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.6) lib/action_view/renderer/template_renderer.rb:46:in `render_template'
actionpack (3.2.6) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.6) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.6) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.6) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.6) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.6) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.6) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.6) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.6) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.6) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.6) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.6) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.6) lib/action_controller/metal/instrumentation.rb:40:in `render'
activesupport (3.2.6) lib/active_support/core_ext/benchmark.rb:5:in `ms'
/usr/local/ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
activesupport (3.2.6) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.6) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (3.2.6) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.6) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.6) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.6) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.6) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.2.6) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.6) lib/abstract_controller/callbacks.rb:18:in `process_action'
activesupport (3.2.6) lib/active_support/callbacks.rb:447:in `_run__493853012__process_action__391839301__callbacks'
activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `send'
activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.6) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.6) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
activesupport (3.2.6) lib/active_support/notifications.rb:123:in `instrument'
activesupport (3.2.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.6) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.6) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.6) lib/action_controller/metal/params_wrapper.rb:206:in `process_action'
activerecord (3.2.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.6) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.6) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.6) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.6) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.6) lib/action_controller/metal.rb:246:in `action'
actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68: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.6) lib/action_dispatch/routing/route_set.rb:600:in `call'
rack-openid (1.3.1) lib/rack/openid.rb:98:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/cookies.rb:338:in `call'
activerecord (3.2.6) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `_run__397314981__call__4__callbacks'
activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `send'
activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.6) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.1) lib/rack/lock.rb:15:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.6) lib/rails/engine.rb:479:in `call'
railties (3.2.6) lib/rails/application.rb:220:in `call'
railties (3.2.6) lib/rails/railtie/configurable.rb:30:in `send'
railties (3.2.6) lib/rails/railtie/configurable.rb:30:in `method_missing'
thin (1.4.1) lib/thin/connection.rb:80:in `pre_process'
thin (1.4.1) lib/thin/connection.rb:78:in `catch'
thin (1.4.1) lib/thin/connection.rb:78:in `pre_process'
thin (1.4.1) lib/thin/connection.rb:53:in `process'
thin (1.4.1) lib/thin/connection.rb:38:in `receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
thin (1.4.1) lib/thin/backends/base.rb:63:in `start'
thin (1.4.1) lib/thin/server.rb:159:in `start'
thin (1.4.1) lib/thin/controllers/controller.rb:86:in `start'
thin (1.4.1) lib/thin/runner.rb:185:in `send'
thin (1.4.1) lib/thin/runner.rb:185:in `run_command'
thin (1.4.1) lib/thin/runner.rb:151:in `run!'
thin (1.4.1) bin/thin:6
/usr/local/ruby/bin/thin:19:in `load'
/usr/local/ruby/bin/thin:19

関係しているリビジョン

リビジョン 153:a5bcc3810807 (差分)
Tomohisa Kusukawaほぼ6年前に追加

fixes #1100 edit relay shows 500 error.

リビジョン 156:2fd0bf6ea79f (差分)
Tomohisa Kusukawaほぼ6年前に追加

fixes #1100 edit relay shows 500 error.

リビジョン ff9dd9d4 (差分)
Tomohisa Kusukawaほぼ6年前に追加

fixes #1100 edit relay shows 500 error.

リビジョン 252 (差分)
T.Kusukawa がほぼ6年前に追加

Version 0.2.4
fixes #1100 edit relay shows 500 error.

履歴

#1 Tomohisa Kusukawaほぼ6年前に更新

  • ステータス新規(New) から 担当(Assigned) に変更
  • 対象バージョン0.2.4 にセット

I'm sorry for insufficient test.

#2 Tomohisa Kusukawaほぼ6年前に更新

  • ステータス担当(Assigned) から 解決(Resolved) に変更
  • 進捗率0 から 100 に変更

更新履歴 commit:a5bcc3810807 で適用されました。

#3 Tomohisa Kusukawaほぼ6年前に更新

  • 担当者Tomohisa Kusukawa から Steven Wong に変更

I fixed this bug and release 0.2.4.
Please try 0.2.4.

#4 Steven Wongほぼ6年前に更新

Thanks.In 0.2.4, it's OK now.

#5 Tomohisa Kusukawaほぼ6年前に更新

更新履歴 commit:2fd0bf6ea79f で適用されました。

#6 Tomohisa Kusukawaほぼ6年前に更新

  • ステータス解決(Resolved) から 終了(Closed) に変更

他の形式にエクスポート: Atom PDF