[buddypress-trac] [BuddyPress Trac] #7980: Group member admin autocomplete does not fail gracefully on "large network"

buddypress-trac noreply at wordpress.org
Tue Oct 2 14:41:13 UTC 2018


#7980: Group member admin autocomplete does not fail gracefully on "large network"
--------------------------+--------------------
 Reporter:  boonebgorges  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.0
Component:  Groups        |    Version:
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 The Dashboard group admin panel includes an interface for adding users to
 groups. This interface is a text entry field that expects a comma-
 separated list of user_logins. The field has autocomplete support; the
 server-side handler is
 https://buddypress.trac.wordpress.org/browser/tags/3.2.0/src/bp-groups/bp-
 groups-admin.php#L1236

 If you are running a large multisite network, the UI behavior is poor:
 - When you start typing, a spinner gif appears, and an AJAX request is
 sent. But the AJAX request fails with `-1`
 https://buddypress.trac.wordpress.org/browser/tags/3.2.0/src/bp-groups/bp-
 groups-admin.php?marks=1244-1246#L1236. So you don't get any autocomplete
 results, and the spinner never stops.
 - Since you can't select autocomplete results, you've got to enter a
 user_login (or comma-separated list of user_logins). But there's no way to
 know this by looking at the interface - I only knew because I wrote this
 interface originally, and even I had to open the codebase to figure it out
 :)

 I'll post a patch for what is, I think, a minimal fix.

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


More information about the buddypress-trac mailing list