Closed Bug 928387 Opened 11 years ago Closed 11 years ago

InlineHistory "marked as a duplicate" detection too eager

Categories

(bugzilla.mozilla.org Graveyard :: Extensions: InlineHistory, defect)

Production
x86
All
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: a9016009, Assigned: glob)

References

Details

Attachments

(2 files)

Attached image InlineScreenshot.png
Upstreaming from https://bugzilla.wikimedia.org/show_bug.cgi?id=55373
We're using bmo4.2's InlineHistory in bugzilla.wikimedia.org (with small CSS adjustments).

Below https://bugzilla.wikimedia.org/show_bug.cgi?id=45051 comment 6, InlineHistory claims that MZMcBride marked bug 43689 as a duplicate of 45051. This is not true; Krinkle did that in comment 5, and MZMcBride only quoted the automatic comment.
History of 43689 also shows that the duplication was not reverted and applied again (to rule out one potential reason).

The only explanation I see is that InlineHistory "marked as a duplicate"
detection is too eager. It should only trigger when that comment is at the end
of the comment, in a separate paragraph.

Could only find bug 759768 which seems to be slightly related.
(In reply to Andre Klapper from comment #0)
> The only explanation I see is that InlineHistory "marked as a duplicate"
> detection is too eager. It should only trigger when that comment is at the
> end of the comment, in a separate paragraph.

it's a shame we have to look at the comment text just to support the older duplicate comments (filed bug 928786 to track migrating them).
Assignee: nobody → glob
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch 928387_1.patchSplinter Review
while looking over the code and playing around, i realised there's a large cost to searching the comment text for comment created prior to bugzilla 3.0.

this change drops support for showing those comments inline (they will still be listed in the "duplicates" field).

andre and dkl, what are your thoughts on doing this?
Attachment #819545 - Flags: review?(dkl)
Attachment #819545 - Flags: feedback?(a9016009)
(In reply to Byron Jones ‹:glob› from comment #2)
> andre and dkl, what are your thoughts on doing this?

You know me. Whatever it takes to optimize page load time :) But seriously I would imagine that people are most interested in more recent dupes and will not miss anything inline that happened prior to the days of 3.0.

Dkl
Comment on attachment 819545 [details] [diff] [review]
928387_1.patch

Review of attachment 819545 [details] [diff] [review]:
-----------------------------------------------------------------

r=dkl
Attachment #819545 - Flags: review?(dkl) → review+
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/
modified extensions/InlineHistory/Extension.pm
Committed revision 9091.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #819545 - Flags: feedback?(a9016009)
Status: RESOLVED → VERIFIED
Product: bugzilla.mozilla.org → bugzilla.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: