[buddypress-trac] [BuddyPress] #1777: Variable 'user_dataset' left undefined

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Feb 3 06:24:01 UTC 2010


#1777: Variable 'user_dataset' left undefined
----------------------+-----------------------------------------------------
Reporter:  cnorris23  |       Owner:     
    Type:  defect     |      Status:  new
Priority:  blocker    |   Milestone:  1.2
Keywords:  groups     |  
----------------------+-----------------------------------------------------
 In [2537], the variable 'user_dataset' was ''almost'' removed. However,
 since it wasn't completely removed, it's breaking a couple of the group
 functions. It was left in the delete() function of bp-groups-classes.php,
 and in groups_notification_group_updated() function of bp-groups-
 notifications.php. This causes three things:
 1) An error (which I can't remember how to reproduce, but it's how I found
 the issue) about something wrong with the for() statement on line 9 of bp-
 groups-notifications.php
 2) Trying to update the "notify users on group changes" option will not
 work, and usually (I think this might have been where I got the error
 originally) results in a blank (white) screen.
 3) Because of it's appearance in the delete() function, when you delete a
 group, the bp_groups_members table is not updated, so users are still
 listed as being part of non-existent groups.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1777>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list