Package: bugs.debian.org Severity: minor This is an excerpt from a control ACK message I received recently:
Processing commands for cont...@bugs.debian.org: > clone 598496 -1 > > [...] -- 600231: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600231 598496: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598496 -1: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=-1 As you can see, the negative "new ID" is included in the list of URLs in the footer. Attached is a bit of a guess at a patch, not tested (I've not got round to setting up a local debbugs to play with!). -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dash -- Chris Butler <chr...@debian.org> GnuPG Key ID: 4096R/49E3ACD3
=== modified file 'templates/en_US/mail/footer.tmpl' --- templates/en_US/mail/footer.tmpl 2007-09-22 08:09:13 +0000 +++ templates/en_US/mail/footer.tmpl 2010-10-14 21:05:37 +0000 @@ -4,6 +4,7 @@ for my $bug ($ref,@refs) { next unless defined $bug; next if exists $ref_handled{$bug}; + next if $ref < 0; $ref_handled{$bug} = 1; $OUT .= bugurl($bug).qq(\n); }