View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012628 | mantisbt | api soap | public | 2010-12-22 06:40 | 2014-02-07 04:15 |
Reporter | rombert | Assigned To | rombert | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.4 | ||||
Target Version | 1.2.5 | Fixed in Version | 1.2.5 | ||
Summary | 0012628: Update last change date for both bugs when updating a relationship | ||||
Description | When a bug relationship is added, only the 'source' <pre> Add the new relationship
$f_dest_bug_id, $f_rel_type );
BUG_ADD_RELATIONSHIP, $f_rel_type, $f_dest_bug_id );
</pre> This change will make sure that:
| ||||
Tags | No tags attached. | ||||
Thanks Robert. Let me know if you need a hand. |
|
@dhx : Sure thing, thanks. |
|
Not sure if I would agree that both bugs should be updated, i am inclined to say "no". Perhaps under certain types of relationships but definately not for all (for example parent-child should be maintained independent). |
|
@cas: care to elaborate on why? IMO changing adding a relationship between two bugs means that both bugs have changed. |
|
@rombert: I reviewed the issue in more detail and have to withdraw my earlier comment. You referred to the moment of setting the relationship. Then clearly you are correct. |
|
@cas: thanks for following-up. Good to know that I'm not breaking any expected behaviour. |
|
This should be fixed now. I found no inconsistencies is history_log calls. |
|
MantisBT: master 9b87be38 2010-12-23 08:45 Details Diff |
Update last change date for both bugs when updating a relationship Whenever a bug relation is added or updated, the last update field is updated for the source bug. For consistency reasons, we know update that field for the target bug as well. Fixes 0012628: Update last change date for both bugs when updating a relationship |
Affected Issues 0012628 |
|
mod - bug_report.php | Diff File | ||
mod - api/soap/mc_issue_api.php | Diff File | ||
mod - bug_relationship_add.php | Diff File | ||
MantisBT: master-1.2.x 34dac373 2010-12-23 08:45 Details Diff |
Update last change date for both bugs when updating a relationship Whenever a bug relation is added or updated, the last update field is updated for the source bug. For consistency reasons, we know update that field for the target bug as well. Fixes 0012628: Update last change date for both bugs when updating a relationship |
Affected Issues 0012628 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
mod - bug_relationship_add.php | Diff File | ||
mod - bug_report.php | Diff File |