Project

General

Profile

Actions

Defect #6309

closed

missing "not_a_valid_parent" from all the locale files?

Added by Tiffany C over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Translations
Target version:
-
Start date:
2010-09-06
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I wonder if "not_a_valid_parent" is missing from all the locale files or not because the following error message showed up.

"Parent task translation missing: en, activerecord, errors, models, issue, attributes, parent_issue_id, not_a_valid_parent"

This error came up when I made the following operation.

1. Suppose I have this kind of subtask tickets

  • 130: parent
    • 131: child
      • 132: grandchild

2. When I changed 131's parent task from 130 to 132, the above error message appeared.

Thanks.


Related issues

Related to Redmine - Defect #6579: Tree hierachy being currupted on multiple submissions of an issueClosedJean-Philippe Lang2010-10-05

Actions
Has duplicate Redmine - Defect #8430: Missing translation "not_a_valid_parent"Closed2011-05-24

Actions
Has duplicate Redmine - Defect #8679: Translation error message when linking same issue also as parentClosed2011-06-24

Actions
Actions #1

Updated by Azamat Hackimov over 13 years ago

  • Category set to Translations
  • Assignee set to Azamat Hackimov

Yes, I hitted to this bug too. But it seems there must be "Circular dependency" exeption from here source:trunk/app/models/issue_relation.rb#L50. I'll check it later.

Actions #2

Updated by David Martínez Moreno almost 13 years ago

Azamat, any update? This is hitting me as well, Redmine 1.1.2.

Actions #3

Updated by Etienne Massip almost 13 years ago

  • Target version set to Candidate for next minor release
  • Affected version (unused) changed from 1.0.1 to 1.1.3
  • Affected version changed from 1.0.1 to 1.1.3

Actually, it can be reproduced very easily by trying to set an issue as parent of itself.

Actions #4

Updated by Cassiano Monteiro about 12 years ago

Actually, the key not_a_valid_parent is missing on the en.yml file (or other localization files).

Actions #5

Updated by Toshi MARUYAMA about 10 years ago

  • Related to Defect #6579: Tree hierachy being currupted on multiple submissions of an issue added
Actions #6

Updated by Toshi MARUYAMA about 10 years ago

  • Related to deleted (Defect #6143: Subtask creation form submission race?)
Actions #7

Updated by Toshi MARUYAMA about 10 years ago

  • Assignee deleted (Azamat Hackimov)
Actions #8

Updated by Toshi MARUYAMA about 10 years ago

  • Status changed from New to Closed

r10587:

@@ -559,7 +560,7 @@
         elsif move_possible?(@parent_issue)
           # move accepted inside tree
         else
-          errors.add :parent_issue_id, :not_a_valid_parent
+          errors.add :parent_issue_id, :invalid
         end
       end
     end
Actions #9

Updated by Toshi MARUYAMA about 10 years ago

  • Target version deleted (Candidate for next minor release)
Actions

Also available in: Atom PDF