If Bug A is resolved as a duplicate of Bug B, and then Bug B is resolved as a duplicate of Bug C, A should appear to be a duplicate of C from then on. Similarly, if B is already a duplicate of C when someone resolves A as duplicate of B, A should immediately appear to be duplicate of C. The cc: lists should also forward in this fashion. Bug 112532 appears related.
Created attachment 610572 [details] [diff] [review] patch, v1 This patch is about the first part of your request. The 2nd part about the CC list has already been requested in bug 108983.
this works, but i'm not totally sold on the wording. what are your thoughts on displaying the ultimate bug as primary, mentioning intermediate bug(s) secondarily. so when bug A is dupes to bug B, which is then duped to bug C, bug A would display as: RESOLVED DUPLICATE of bug C (via bug B)
Comment on attachment 610572 [details] [diff] [review] patch, v1 r- for reasons stated in comment 2.
We are going to branch for Bugzilla 4.4 next week and this bug is too invasive or too risky to be accepted for 4.4 at this point. The target milestone is set to 5.0 which is our next major release. I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else on time for 5.0.