Make WordPress Core

Opened 19 years ago

Last modified 8 years ago

#6342 assigned defect (bug)

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

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

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 (10)

#1 @mrmist
18 years ago

Does this bug still apply ?

#2 @markjaquith
17 years ago

  • Milestone 2.9 → 3.0

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

#3 @nacin
17 years ago

  • Keywords needs-patch added
  • Milestone 3.0 → 3.1

#4 @nacin
16 years ago

  • Milestone Awaiting Triage → Future Release

#5 @petervanderdoes
15 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.

#6 @helen
13 years ago

  • Component Administration → Comments
  • Focuses administration added

#7 @wonderboymusic
11 years ago

  • Milestone Future Release → 4.4
  • Owner changed from mdawaffe to wonderboymusic
  • Status new → assigned

#8 @wonderboymusic
11 years ago

  • Milestone 4.4 → Awaiting Review
  • Owner wonderboymusic removed
  • Priority normal → low
  • Severity normal → minor

Turns out I have no desire to work on this - I'd rather wait until we overhaul the whole thing.

This ticket was mentioned in ​Slack in #core-comments by rachelbaker. ​View the logs.


11 years ago

#10 @rachelbaker
11 years ago

  • Milestone Awaiting Review → Future Release

There doesn’t seem to be a clear solution suggested, but I think this can at least get moved back into “Future Release"

Note: See TracTickets for help on using tickets.