Project

General

Profile

Actions

Defect #1303

closed

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

Added by Tomohisa Kusukawa about 11 years ago. Updated over 10 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'
Actions #1

Updated by Tomohisa Kusukawa about 11 years ago

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

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

Actions #2

Updated by Tomohisa Kusukawa over 10 years ago

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

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

Actions

Also available in: Atom PDF