If I take an existing bug X and change it to block bug Y, bug Y's delta_ts gets updated. But if I create a new bug C, and -while filling the bug out-, mark it as blocking bug Y, then bug Y's delta_ts isn't updated.
Personal Note: Here is the code in process_bug.cgi that updates the delta_ts when a dependency is changed. Particularly the SQL that does the update. Something of this nature needs to be in the dependency insertion portion of post_bug.cgi to mimic this behaviour. sub LogDependencyActivity { my ($i, $oldstr, $target, $me) = (@_); my $newstr = SnapShotDeps($i, $target, $me); if ($oldstr ne $newstr) { # Figure out what's really different... my ($removed, $added) = DiffStrings($oldstr, $newstr); LogActivityEntry($i,$target,$removed,$added,$whoid,$timestamp); # update timestamp on target bug so midairs will be triggered SendSQL("UPDATE bugs SET delta_ts=NOW() WHERE bug_id=$i"); $bug_changed = 1; return 1; } return 0; }
Would like to fix for beta3.
Fixed in cvs. Will be in beta3