[buddypress-trac] [BuddyPress Trac] #5983: groups can be created with creator_id = 0

buddypress-trac noreply at wordpress.org
Mon Nov 3 16:36:48 UTC 2014


#5983: groups can be created with creator_id = 0
--------------------------+------------------
 Reporter:  DJPaul        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.2
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by djpaul):

 In [changeset:"9117"]:
 {{{
 #!CommitTicketReference repository="" revision="9117"
 Unit Tests, Groups: update the Group factory to handle `false` return
 values from `groups_create_group`.

 It currently assumes that the group is always succesfully created, and
 this isn't true if `creator_id` is set to `0` (or if there is no logged in
 user).

 See #5983
 }}}

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


More information about the buddypress-trac mailing list