Project

General

Profile

Actions

Defect #6309

closed

missing "not_a_valid_parent" from all the locale files?

Defect #6309: missing "not_a_valid_parent" from all the locale files?

Added by Tiffany C about 16 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Translations
Target version:
-
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 3 (0 open — 3 closed)

Related to Redmine - Defect #6579: Tree hierachy being currupted on multiple submissions of an issueClosedJean-Philippe LangActions
Has duplicate Redmine - Defect #8430: Missing translation "not_a_valid_parent"ClosedActions
Has duplicate Redmine - Defect #8679: Translation error message when linking same issue also as parentClosedActions

Updated by Azamat Hackimov about 16 years ago Actions #1

  • 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.

Updated by David Martínez Moreno over 15 years ago Actions #2

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

Updated by Etienne Massip over 15 years ago Actions #3

  • 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.

Updated by Cassiano Monteiro almost 15 years ago Actions #4

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

Updated by Toshi MARUYAMA almost 13 years ago Actions #5

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

Updated by Toshi MARUYAMA almost 13 years ago Actions #6

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

Updated by Toshi MARUYAMA over 12 years ago Actions #7

  • Assignee deleted (Azamat Hackimov)

Updated by Toshi MARUYAMA over 12 years ago Actions #8

  • 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

Updated by Toshi MARUYAMA over 12 years ago Actions #9

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

Also available in: PDF Atom