Project

General

Profile

Actions

Defect #4789

closed

Cross references from SCM to projects work, but are missing on projects to SCM with project inheritance

Added by Christopher Maximov almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
-
Start date:
2010-02-10
Due date:
% Done:

100%

Estimated time:
Resolution:
Invalid
Affected version:

Description

In normal case when the repository is imported all #number log messages are properly converted to the links to issues in redmine. Also each issue shows all relates check-ins in the SCM. This works for a single project, BUT when there are subprojects with own repositories it just does not work.

Example:
P1 - main project
SCM1 - repository for P1
P2 - subproject of project P1
SCM2 - repository for P2

Now, when repository SCM1 is connected all issue<=>revision relationship is kept nicely.
When SCM2 is connected and in log messages there are references to issues raised on P1 then the link is available only on SCM2 view to point to the issue in P1. But on this very issue from P1 there is no reference to SCM2 revision.

The only thing missing is the link in changesets_issues table. If this connection is manually added in the database then the whole thing works beautyfully! The issue on P1 contains references to log entries from SCM1 and SCM2 and all links work correctly!
Can this missing changesets_issues connection be fixed???

I'm running Redmine 0.9.2.

Actions

Also available in: Atom PDF