Comment 1 for bug 484609

Revision history for this message
Graham Binns (gmb) wrote :

Agreed. That's actually pretty easy to fix. Here's what needs to happen (in case someone wants to take a crack at it before one of the Bugs team gets time):

In lib/lp/bugs/scripts/checkwatches.py the conditions on lines 780 and 782 should be updated to include the clause `and bug_watch.bug.duplicateof is None`. This will stop the importing and, more importantly, the pushing of comments from or to remote bugs where the Launchpad bug is a duplicate of another Launchpad bug.

The tests in lib/lp/bugs/doc/checkwatches.txt should be updated to include tests to cover this change.

Marking this as high; we need to fix this before we enable comment pushing for bugzilla.mozilla.org.