#3746 closed defect (bug) (fixed)
On Multisite Editing Blog Posts Bumps Original Activity To Top
Reported by: | nahummadrid | Owned by: | |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | normal | Version: | 1.5 |
Component: | Blogs | Keywords: | 2nd-opinion |
Cc: |
Description
I didn't see a ticket in this latest group so I'm adding this hopefully it wasn't already ticketed.
When a user edits a blog post, the activity items gets a new timestamp and then moves back up to the top of the activity stream.
Change History (12)
#3
@
13 years ago
To me, that functionality is incorrect.
Now, if you make a small change to a post (or even just click the publish button again), the post appears at the top of the activity feed.
For example, I recently installed a new theme that required updating the metadata of some old posts. This caused posts from over a year ago, that had not substantively changed, to appear at the top of the activity feed.
As for thekmen's issue, if you have a draft post which you then publish, the publish date should be updated to the present. If it doesn't (perhaps because the user published a post, then set it to draft, and then published it again), it's up to the user to ensure the publish date is correct.
Bottom line, to my mind, the official date of record for a post should be the published date, not the modified one, and the activity stream should reflect that. On the other hand, for a "page" content type...
#4
follow-up:
↓ 7
@
13 years ago
That argument seems sensible. Wondering if anyone else has anything else to add - another core dev, maybe?
#6
@
13 years ago
- Component changed from Activity to Blogs
- Keywords 2nd-opinion added
- Severity changed from major to normal
#7
in reply to:
↑ 4
@
13 years ago
Replying to boonebgorges:
That argument seems sensible. Wondering if anyone else has anything else to add - another core dev, maybe?
So will seagrinch's Line 193 code change work to fix this...this bug is really killing me, I can't see what the purpose is for it. If a forum post is edited it doesn't get bumped to the top, as well it shouldn't. So what is the purpose for having this currently for blog post edits. I don't mind waiting for 1.6 but man is it silly for blog posts to be reappearing because a minor fix or edit is done to an old post and the activity item says "posted 25minutes ago" and then the actual post says "posted 2 years ago"? I've seen plugins to bump activities to the top so I think if someone wanted this functionality for blog post then maybe they should apply a plugin.
#9
@
13 years ago
I've seen plugins to bump activities to the top so I think if someone wanted this functionality for blog post then maybe they should apply a plugin.
Also, let me reiterate that "bumping" is not intended to be a "feature". The behavior is the result of a fix for #2546.
I will be happy to fix the issue when I have a good solution that addresses both #2546 and the issue being discussed in the current ticket.
#10
@
13 years ago
I'm about to commit the following fix:
- Keep 'recorded_time' pegged to post_modified_gmt, to prevent recurrence of the problem described in #2546
- Before recording a new_blog_post activity item, check to see whether an activity item exists for this specific blog post. If so, bail. That will prevent bumping.
I have the same problem.
Line 193 in bp-blogs/bp-blogs-functions.php should be
instead of
In addition, the format of the activity notice has changed (again), which means you may have to update any custom parsers. I'd prefer the colon to the comma in line 181, but I'd take either as long as it stays the same.