[buddypress-trac] [BuddyPress] #4861: Groups Admin UI : bulk delete trouble

buddypress-trac noreply at wordpress.org
Sun Mar 3 17:13:21 UTC 2013

#4861: Groups Admin UI : bulk delete trouble
 Reporter:  imath         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Groups        |    Version:  1.7
 Severity:  normal        |   Keywords:  has-patch needs-testing

 I think there's several troubles in bulk actions (actually the delete one)
 in the Groups Admin UI.

 1/ the first trouble is in case of bulk delete, the
 bp_groups_admin_index() is always fired causing weird behavior and notice
 As at line 80 of bp-groups-admin.php
 $_REQUEST['action'] = $_REQUEST['action2'];
 then in the function bp_groups_admin() $doaction is never set to 'delete'
 but '-1' and the bp_groups_admin_delete() is not called.

 2/ Once i've fixed trouble 1/, i've noticed that if more than one group
 are requested to be deleted, only the first one is deleted.

 3/ Finally the admin notice message was saying '%s activity...' or '%s
 activity items...' instead of '%s group' or '%s groups'.

 You'll find the patch i've used to solve the problem in the diff attached
 to this ticket.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4861>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list