#3032 closed defect (bug) (fixed)
Toggle functionality introduces race conditions with multiple moderators
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.0 |
Component: | API - Moderation | Keywords: | commit |
Cc: | jmdodd@… |
Description ¶
When multiple moderators are toggling topics, it's possible for two toggle requests to go in back-to-back, undoing the original toggle.
Talking with @jmdodd this weekend at WCUS, we came up with a series of improvements to bbPress that will allow us to keep the toggle idea for core, but allow others to introduce new toggles and/or approaches to the API.
This ticket will serve as the place where those changes will go, for forums/topics/replies.
Commits (9)
- [6133] Moderation: First pass at improved reply toggle actions:… by @johnjamesjacoby 9 years ago
- [6134] Moderation: Rename function to
bbp_get_reply_toggles()
to better match existing naming scheme.… by @johnjamesjacoby 9 years ago - [6136] Moderation: Move
sub_action
query var into a passable argument, so all actions can have reliable sub-action usage.… by @johnjamesjacoby 9 years ago - [6137] Moderation: Pass
$reply_id
intobbp_get_reply_toggles()
so the exacty reply ID can be referenced directly at the time of the filter.… by @johnjamesjacoby 9 years ago - [6138] Moderation: Add error message if reply could not be found or no longer exists.… by @johnjamesjacoby 9 years ago
- [6139] Moderation: /s/exists/missing… by @johnjamesjacoby 9 years ago
- [6142] Moderation: First pass at improved topic toggle actions:… by @johnjamesjacoby 9 years ago
- [6143] Topics: Break apart some lengthy inline conditions. See #3032.… by @johnjamesjacoby 9 years ago
- [6146] Moderation: Add some missing PHPDoc
@since
revisions… by @netweb 9 years ago
Pull Requests
- Loading…
Change History (13)
Note: See
TracTickets for help on using
tickets.
In 6133: