View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011624 | mantisbt | bugtracker | public | 2010-03-06 11:29 | 2010-04-23 14:30 |
Reporter | jreese | Assigned To | jreese | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0 | ||||
Target Version | 1.2.1 | Fixed in Version | 1.2.1 | ||
Summary | 0011624: Updating version name in parent project does not update references in child projects | ||||
Description | When updating version names in a parent project, version references are not updated for bugs in child projects marked against the inherited versions. | ||||
Steps To Reproduce | Create parent project 1 with version A | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 402d8972 2010-03-06 12:05 Details Diff |
Fix 0011624: Update version refs in child projects When updating version names, we need to properly cascade those changes to child projects that are using the inherited version names. This can potentially cause an issue with child projects that have a version with the same name as the parent project, but I believe this mechanism better handles the user's intent, and prevents sites from "breaking" with the new version inheritance feature. A better solution would be to fix versions so that they are referenced by unique IDs everywhere, similar to how categories were upgraded to use IDs instead of duplicating the name everywhere. However, that solution would not be considered within the scope of 1.2 due to schema changes necessary for such a change. Also, the project hierarchy was updated slightly to allow the version API to access a full list of subprojects, including disabled projects. |
Affected Issues 0011624 |
|
mod - core/project_hierarchy_api.php | Diff File | ||
mod - core/version_api.php | Diff File | ||
MantisBT: master fc5cb097 2010-03-06 12:05 Details Diff |
Fix 0011624: Update version refs in child projects When updating version names, we need to properly cascade those changes to child projects that are using the inherited version names. This can potentially cause an issue with child projects that have a version with the same name as the parent project, but I believe this mechanism better handles the user's intent, and prevents sites from "breaking" with the new version inheritance feature. A better solution would be to fix versions so that they are referenced by unique IDs everywhere, similar to how categories were upgraded to use IDs instead of duplicating the name everywhere. However, that solution would not be considered within the scope of 1.2 due to schema changes necessary for such a change. Also, the project hierarchy was updated slightly to allow the version API to access a full list of subprojects, including disabled projects. |
Affected Issues 0011624 |
|
mod - core/version_api.php | Diff File | ||
mod - core/project_hierarchy_api.php | Diff File |