Bug #8535
closed
- Related to Bug #8183: Edit of Post creates notification emails added
- Related to Bug #2844: Commons bug re: editing blog posts added
- Related to Bug #6350: Editing blog posts results in activity items added
Here's the relevant data from the activity table:
id: 467129
date_recorded: 2017-08-15 17:56:57
type: new_groupblog_post
Sequentially, the id 467129 means that the activity item was created just this afternoon (at the date_recorded timestamp). It was not a modification of an existing activity item.
Ray, do you have a hypothesis about what might be happening here? Is it possible that the activity item corresponding to the original blog post was deleted, so that when the edit took place, bp-groupblog created a new activity item? If this is true, then why does the `action` read "...edited the blog post..." instead of "...wrote a new blog post..."?
- Assignee set to Raymond Hoh
- Target version set to 1.11.10
Excellent - thanks, Ray. Perhaps it's linked to https://buddypress.trac.wordpress.org/ticket/6834?
If so, then making the same change to the mainline bp-groupblog plugin will effectively bump the minimum requirement to BP 2.5. Does that sound correct to you?
- Status changed from New to Resolved
Ray, if you get a minute, could you think about my question above?
I think we can mark this ticket resolved for the purposes of the Commons.
Boone, it looks like you're correct about BP ticket 6834.
This will indeed bump the requirement for bp-groupblog to BP v2.5 unless we check if the current version of BuddyPress is 2.5.
We could do the following inside bp_groupblog_catch_transition_post_type_status()
:
// If BP 2.5, bail.
if ( function_exists( 'bp_register_post_types' ) ) {
return;
}
That way we keep compatibility with older versions.
Good call, Ray! I'll implement that.
- Related to Bug #14017: Editing of blog post leads to group notification added
Also available in: Atom
PDF