go to bug id or search bugs for
I noticed a few tickets marked as duplicates without any indication of which tickets they would duplicate. For instance, the following 2 tickets have their Status field set to Duplicate, but the Related reports tab is empty:
As this is the result of changes by 2 developers, it looks like this is not exceptional, and would deserve a change in the system so developers cannot mark a ticket as duplicate when failing to specify a related ticket tracking the same issue.
Add a Patch
Add a Pull Request
Just to explain how that currently works: if a user refers to some
other ticket using “bug hash number”, the other ticket
automatically gets an entry “Related To: Bug hash number”. These
entries can be filtered via the related reports “button”. See,
for instance, <https://bugs.php.net/77347>, which has been closed
as duplicate of <https://bugs.php.net/77278>. Only the latter has
a filterable related reports entry. So, basically no duplicate is
presently supposed to show any related reports.
Also, there is a problem regarding comments which contain
inadvertant referrals to other tickets. See, for instance,
<https://bugs.php.net/2307> which claims to be related to
<https://bugs.php.net/77349> which it is certainly not.
> […] and would deserve a change in the system so developers
> cannot mark a ticket as duplicate when failing to specify a
> related ticket tracking the same issue.
Hmm, that would require advanced AI, wouldn't it?
Anyhow, I suggest to move the discussion regarding possible
improvements of referrals and duplicates to the php-webmaster@
mailing list, since a bug tracker is unsuitable for brainstorming,
which is certainly necessary in this case.
Ah, thank you for the explanation cmb, I see what you mean but I did not mean to suggest using any artificial intelligence, no. Sorry, I misunderstood how Related reports works.
I was rather suggesting a field to explicitly define the report with which a duplicate is redundant, as Bugzilla does:
This field would appear when the Status field would be set to the value Duplicate. It would also allow other improvements to duplicate handling, like managing those who subscribe to a ticket automatically.