Making WordPress.org

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#704 closed defect (bug) (fixed)

core.trac comments getting the same comment number, messing up edits and permalinks

Reported by: boonebgorges's profile boonebgorges Owned by:
Milestone: Priority: normal
Component: Trac Keywords:
Cc:

Description

I posted a new comment on https://core.trac.wordpress.org/ticket/5809. Comment appeared correctly. I went to edit it, and it opened two separate comments for editing - the proper one near the bottom of the page, as well as one higher up by wonderboymusic. The edit itself only ended up applying to the first of those (not surprisingly, I guess, if they internally share a comment_id).

Change History (4)

#1 @SergeyBiryukov
10 years ago

This was an issue in older Trac versions: #WP18767. Should be fixed for new tickets, but still exists for old ones.

#2 @nacin
10 years ago

Correct. This is an old issue. It only affects two open tickets: #WP5809 (affected heavily) and #WP20683 (only affects comments 5 and 6).

per: select distinct ticket from ticket_change where field = 'comment' and oldvalue <> '' and ticket in (select id from ticket where status <> 'closed') group by ticket, oldvalue having count(*) > 1

#3 @nacin
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

I've fixed the numbering in #WP20683 and #WP5809.

#4 @boonebgorges
10 years ago

It's a Christmas miracle!

Note: See TracTickets for help on using tickets.