Project

General

Profile

Actions

Defect #35248

open

Hard-coded error messages in IssueStatus

Added by Kam Nazir almost 3 years ago. Updated almost 3 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
I18n
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Untranslated hard-coded string exists in source:trunk/app/models/issue_status.rb@20897#L113

def check_integrity
  if Issue.where(:status_id => id).any?
    raise "This status is used by some issues" 
  elsif Tracker.where(:default_status_id => id).any?
    raise "This status is used as the default status by some trackers" 
  end
end


Files

Screenshot_2021-05-18.png (37.4 KB) Screenshot_2021-05-18.png Go MAEDA, 2021-05-18 08:54
Actions

Also available in: Atom PDF