Defect #6309
closedmissing "not_a_valid_parent" from all the locale files?
0%
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
- 131: child
2. When I changed 131's parent task from 130 to 132, the above error message appeared.
Thanks.
Related issues
Updated by Azamat Hackimov about 14 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.
Updated by David MartÃnez Moreno over 13 years ago
Azamat, any update? This is hitting me as well, Redmine 1.1.2.
Updated by Etienne Massip over 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.
Updated by Cassiano Monteiro over 12 years ago
Actually, the key not_a_valid_parent is missing on the en.yml file (or other localization files).
Updated by Toshi MARUYAMA over 10 years ago
- Related to Defect #6579: Tree hierachy being currupted on multiple submissions of an issue added
Updated by Toshi MARUYAMA over 10 years ago
- Related to deleted (Defect #6143: Subtask creation form submission race?)
Updated by Toshi MARUYAMA over 10 years ago
- Status changed from New to Closed
@@ -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 10 years ago
- Target version deleted (
Candidate for next minor release)