Patch #812
closedInclude issue refs on closed issues
0%
Description
Consider a case where issue 5 exists in the issue database already and
is already marked closed. If you have a "closes" statement in your
changelog that references a bug that's already closed, no linkage will
be applied because of this:
next if issue.status.is_closed?
This patch moves the code that updates referenced_issues above that
test, so that it still will avoid a duplicate attempt to close the
issue, but nonetheless will add the reference to the issue.
Files
Updated by Jean-Philippe Lang about 17 years ago
This code:
next if issue.status.is_closed?
will only prevent lines 87 to 92 to be executed.
A referenced and closed issue will be associated with the commit. I've made the test and it works as expected.
Did you experience a problem with this ?
Updated by John Goerzen about 17 years ago
- Status changed from New to Closed
You're right. Further testing has showed that I was confused because the Resolved status wasn't a "closed" status by default. Sorry for the noise.