[buddypress-trac] [BuddyPress Trac] #8866: Improve unregistered Group Type management

buddypress-trac noreply at wordpress.org
Tue Apr 4 22:44:36 UTC 2023


#8866: Improve unregistered Group Type management
--------------------------+-------------------------
 Reporter:  imath         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  12.0.0
Component:  Groups        |    Version:  2.6.0
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-------------------------
 When a group type is not registered we are currently trying (without
 success) to do a `404`. In this case the groups directory page loads
 without informing the user of what's happening.

 The existing PHPUnit test is succeeding because it's a wrong copy paste of
 a member type test. See
 `test_group_directory_should_404_for_group_types_that_have_no_directory()`.

 I think, we should simply inform no groups were found.

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


More information about the buddypress-trac mailing list