#1809 closed defect (bug) (wontfix)
Blog Activity from 1.1 invalid in 1.2
Reported by: | rvenable | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: | rvenable |
Description
I noticed that in 1.1.3, the item_id column for blog post activity stored the blog post ID. In 1.2, the item_id column stores the blog_id and the secondary_item_id stores the post id. This makes all 1.1.3 blog post activity have invalid data in 1.2.
I think the best solution to this would be to allow the site admin to refresh all blog activity. This could be done with a script similar to the WPMU upgrade site script that loops through all blogs. I can write up some code to do that and attach a patch, if there isn't already a solution out there.
Change History (2)
#2
@
15 years ago
I'm working on a plugin in to solve this. Just as a note, here is a link to the diff between what was in 1.1.3 and what is in 1.2 (trunk): http://trac.buddypress.org/changeset/2618/trunk/bp-blogs.php?old=2114&old_path=trunk/bp-blogs.php
The difference can be seen on line 388@r2114 and 420@r2618
The blog comment activities are also different (compare lines 474@r2114 and 512@r2618)
I think this would be a great plugin to release if you could write up the code?