From 4150fed3609ae02a8663a513243896f77b02181d Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Tue, 4 Jun 2019 14:42:59 -0400 Subject: [PATCH] Bug 1556320 - Mismatch between changed summary and current summary --- Bugzilla/Bug.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 88cf7a307..7c486fe1d 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -4535,7 +4535,6 @@ sub GetBugActivity { INNER JOIN profiles ON profiles.userid = bugs_activity.who WHERE bugs_activity.bug_id = ? - AND bugs_activity.removed != bugs_activity.added $datepart $attachpart $suppwhere "; @@ -4591,12 +4590,13 @@ sub GetBugActivity { my $activity_visible = 1; my $last_change = @$changes[-1] || {}; - # Suppress any mid-air collision - if ( $when eq $operation->{'when'} + # Suppress any mid-air collision or duplicated change + if (( $when eq $operation->{'when'} && $fieldname eq $last_change->{'fieldname'} && $removed eq $last_change->{'removed'} && $added eq $last_change->{'added'} && $attachid eq $last_change->{'attachid'}) + || $removed eq $added ) { next; } -- 2.47.3