[buddypress-trac] [BuddyPress Trac] #5907: "Load Newest" issue

buddypress-trac noreply at wordpress.org
Sat Sep 27 21:39:24 UTC 2014

#5907: "Load Newest" issue
 Reporter:  namrons           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  2.2
Component:  Activity          |     Version:  2.0.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |

Comment (by imath):

 In [changeset:"9052"]:
 #!CommitTicketReference repository="" revision="9052"
 Make sure the parent activity exists before adding a comment to it.

 There can be a case when the activity displayed in the stream has been
 deleted by another user. Adding a comment should not be possible for this
 particular case as the parent activity does not exist anymore. The patch
 is adding a check on the {{{date_recorded}}} field of the parent activity
 before adding a comment. If it is not set, then false is returned and a
 default message is displayed to the user by
 {{{bp_legacy_theme_new_activity_comment()}}}. As boonebgorges, some
 improvements on the message can still be added.

 See #5907

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5907#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list