Project

General

Profile

Defect #1303

削除されたチケットがあるとInternalErrorになる場合がある

Added by Tomohisa Kusukawa over 5 years ago. Updated about 5 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Target version:
Start date:
02/07/2014
Due date:
% Done:

100%

Estimated time:

Description

ActionView::Template::Error (Called id for nil, which would mistakenly be 8 -- if you really wanted the id of nil, use object_id):
    61: 
    62:   if tic.parent && tic.parent != 0 then
    63:     parent = Issue.find_by_id(tic.parent)
    64:     parent_id = parent.id
    65:     if parent.nil? then
    66:       parentHtml = "<del>Issue:"+tic.parent.to_s+"</del>" 
    67:     else
  plugins/redmine_work_time/app/views/work_time/_relay_table.html.erb:64:in `block (2 levels) in _plugins_redmine_work_time_app_views_work_time__relay_table_html_erb__1892097265822363982_70307312334740'

Associated revisions

Revision 300:5f176dd34b47 (diff)
Added by Tomohisa Kusukawa over 5 years ago

fixes #1303 削除されたチケットがあるとInternalErrorになる場合がある

Revision 13ebb19e (diff)
Added by Tomohisa Kusukawa over 5 years ago

fixes #1303 削除されたチケットがあるとInternalErrorになる場合がある

History

#1

Updated by Tomohisa Kusukawa over 5 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • % Done changed from 0 to 100

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

#2

Updated by Tomohisa Kusukawa about 5 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)

I released Ver.0.2.15.
http://www.r-labs.org/news/180

Also available in: Atom PDF