Defect #6309

missing "not_a_valid_parent" from all the locale files?

Added by Tiffany C about 7 years ago. Updated over 3 years ago.

Status:ClosedStart date:2010-09-06
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Translations
Target version:-
Resolution: Affected version:1.1.3

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 ... Closed 2010-10-05
Duplicated by Redmine - Defect #8430: Missing translation "not_a_valid_parent" Closed 2011-05-24
Duplicated by Redmine - Defect #8679: Translation error message when linking same issue also as... Closed 2011-06-24

History

#1 Updated by Azamat Hackimov about 7 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.

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

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

#3 Updated by Etienne Massip over 6 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.

#4 Updated by Cassiano Monteiro over 5 years ago

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

#5 Updated by Toshi MARUYAMA over 3 years ago

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

#6 Updated by Toshi MARUYAMA over 3 years ago

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

#7 Updated by Toshi MARUYAMA over 3 years ago

  • Assignee deleted (Azamat Hackimov)

#8 Updated by Toshi MARUYAMA over 3 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

#9 Updated by Toshi MARUYAMA over 3 years ago

  • Target version deleted (Candidate for next minor release)

Also available in: Atom PDF