Solve #22 #23

Merged
merged 1 commit into from Oct 8, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

View
@@ -201,7 +201,7 @@ def _check_parents(id, all_parents):
for x in ids:
# check parent ticket state
parent = Ticket(self.env, x)
- if parent and parent['status'] == 'closed':
+ if parent and parent['status'] == 'closed' and ticket['status'] != 'closed':
yield 'parents', _('Parent ticket #%s is closed') % x
else:
# check circularity