Open Bug 785083 Opened 12 years ago Updated 5 years ago

movebugs.pl should update component watchers

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement
Not set
normal

Tracking

()

REOPENED

People

(Reporter: glob, Unassigned)

References

Details

movebugs.pl and movecomponent.pl should update component watchers if they are watching the component directly.
Assignee: nobody → dylan
OS: Mac OS X → All
Hardware: x86 → All
See Also: → 1084206
movecomponent.pl calls the hook reorg_move_component. The ComponentWatch extension has this code:

sub reorg_move_component {
    my ($self, $args) = @_; 
    my $new_product = $args->{new_product};
    my $component   = $args->{component};

    Bugzilla->dbh->do(
        "UPDATE component_watch SET product_id=? WHERE component_id=?",
        undef,
        $new_product->id, $component->id,
    );  
}

which was added by Bug 1022500

Thus, I believe this bug is already resolved and a duplicate of that bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
ah, part of this is left undone. movebugs.pl does not call reorg_move_component. Reopened.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: movebugs.pl and movecomponent.pl should update component watchers → movebugs.pl should update component watchers
Type: defect → enhancement
Assignee: dylan → nobody
You need to log in before you can comment on or make changes to this bug.