[buddypress-trac] [BuddyPress Trac] #6195: Ajax Activity Update Fails to Post When Akismet Enabled

buddypress-trac noreply at wordpress.org
Fri Feb 6 22:08:09 UTC 2015


#6195: Ajax Activity Update Fails to Post When Akismet Enabled
----------------------------------+------------------------------
 Reporter:  SlothLoveChunk        |       Owner:  boonebgorges
     Type:  defect (bug)          |      Status:  reviewing
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Component - Activity  |     Version:  2.2
 Severity:  normal                |  Resolution:
 Keywords:                        |
----------------------------------+------------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => reviewing


Comment:

 Thanks for the report and for the debugging you've done so far.

 > I get the idea here is for backwards compatibility between 'id' and
 'activity_id', but shouldn't it still return the “SELECT" portion of the
 SQL query?

 I'm not sure I understand what you mean here. It looks to me like your
 debug statement is logging three different requests:
 (1) one that's priming the meta cache for the activity item (rows 1 and
 2),
 (2) one that's fetching the specific `_bp_akismet_result` metavalue (rows
 3-5),
 (3) one that's inserting a new row into the activitymeta table (rows 6-10)

 In other words, the `SELECT` statement is being returned - twice in fact -
 and then a separate `INSERT` is running.

 I'll see what I can do about tracking this down.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6195#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list