[buddypress-trac] [BuddyPress Trac] #7718: Clicking message Reply button multiple times produces duplicate messages

buddypress-trac noreply at wordpress.org
Fri Mar 16 18:58:09 UTC 2018


#7718: Clicking message Reply button multiple times produces duplicate messages
--------------------------+-----------------------------
 Reporter:  jdgrimes      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Messages      |    Version:  2.9.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I originally started investigating this due to a complaint from a client
 that users were posting complaining about duplicate messages being posted.
 I was able to reproduce this:

 1. Send a test message to yourself or somebody else.
 2. Enter a reply message.
 3. Hit the Send Reply button multiple times in quick succession.

 Result: your reply will be sent multiple times. Tested on both latest
 stable and trunk, using 2015 and 2017 themes.

 Suggested fix: the Reply button should be disabled while the Ajax request
 is being sent, to avoid the event callback being triggered multiple times.

 Patch forthcoming.

 Related: #7457. However, that ticket is about messages specifically, and
 not replies (which I haven't been able to reproduce).

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7718>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list