[buddypress-trac] [BuddyPress] #4335: Activity stream "everything" filter assumes Groups component is active

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Jul 8 20:05:08 UTC 2012


#4335: Activity stream "everything" filter assumes Groups component is active
--------------------------+------------------------------
 Reporter:  DJPaul        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:  1.6-beta
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by DJPaul):

 We could check that the 'component' for an item exists. I don't know how
 to handle third-party activity types in this situation. It's also going to
 mess up pagination if we take inactivate components out of the results, so
 I think we should handle this in query.

 For 1.6, I think we could add some bp_is_active() checks into
 bp_dtheme_activity_secondary_avatars() in DTheme's functions.php (to bail
 out if the component isn't active). This clears the fatal error and
 *seems* to allow everything to proceed correctly, though of course the
 link to the group in the activity 404s.

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


More information about the buddypress-trac mailing list