WordPress.org

Make WordPress Core

Opened 6 years ago

Last modified 3 months ago

#6342 new defect (bug)

Rapidly spamming/deleting comments can break "infinite river" feature on comment moderation pages

Reported by: markjaquith Owned by: mdawaffe
Milestone: Future Release Priority: normal
Severity: normal Version: 2.5
Component: Comments Keywords: needs-patch
Focuses: administration Cc:

Description

Comment moderation pages have an "infinite river" feature whereby when you remove one comment (spam/delete), it'll load a new one at the bottom. Unfortunately, it doesn't seem to catch up if you click more rapidly than about once every 2 or 3 seconds, and you'll "lose" comments. At the end, you may just have one comment that, when dealt with, will be replaced by only one comment. This may have to do with doubleclicking the "spam" link, or maybe clicking the "spam" link of the next comment before the river action has finished.

Change History (6)

comment:1 mrmist5 years ago

Does this bug still apply ?

comment:2 markjaquith4 years ago

  • Milestone changed from 2.9 to 3.0

Yes. This bug applies even more strongly now that there is keyboard-based moderation.

comment:3 nacin4 years ago

  • Keywords needs-patch added
  • Milestone changed from 3.0 to 3.1

comment:4 nacin3 years ago

  • Milestone changed from Awaiting Triage to Future Release

comment:5 petervanderdoes2 years ago

I believe the main problem of this bug has to do with your connection speed to the server.

When you click, the javascript hides the comment, the request (A) is send to the server.
You click another comment, the javascript hides the comment, the request (B) is send to the server.
But if you have a slow connection to the server, Request (A) might not have finished yet and is terminate. The server won't handle the actual spam/delete Request (A).
When you do this multiple times, the queue that has the overflow of comments is depleted and doesn't fill up because of the terminated requests.

comment:6 helen3 months ago

  • Component changed from Administration to Comments
  • Focuses administration added
Note: See TracTickets for help on using tickets.