[buddypress-trac] [BuddyPress Trac] #6798: Prevent duplicate group membership request acceptance.
buddypress-trac
noreply at wordpress.org
Wed Dec 30 16:41:25 UTC 2015
#6798: Prevent duplicate group membership request acceptance.
----------------------------------------+------------------------------
Reporter: dcavins | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Component - Groups | Version: 2.4.0
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests |
----------------------------------------+------------------------------
Comment (by dcavins):
I'm attaching a test, but it's not 100% repeatable, so it's a bad test. If
anyone can see what's wrong with the test, please let me know.
I do know that running `groups_accept_membership_request()` multiple times
creates multiple activity items (especially if you add `sleep()` time
between calls to the function). But doing the same thing in the testing
environment doesn't seem to fail reliably.
Thanks for your feedback!
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6798#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list