#2309 When editing a blog post, don't change author

v1.0.0
closed
sf-1 (616)
General
nobody
2015-08-20
2011-06-14
No

Don't change the author when changing a blog post. Particularly, test creating a blog post, then log in as different admin and set the post to draft and then back to published. That will trigger a new feed item (use [[neighborhood_feeds tool_name=blog max_number=6 sort=pubdate]] macro) and it should have the original author still.

Discussion

  • Wolf - 2011-06-14
    • status: open --> in-progress
    • assigned_to: Wolf
     
  • Wolf - 2011-06-15

    code on forge:wo/2309. Also addresses Feed item authorship. For blog posts, the author of the feed item is now the original author of the post.

    This approach has a flaw, but hopefully one we can live with. It protects the author in case of changing draft to published and back, but also discounts edits to the actual text of the blogpost by later authors. The original author is the canonical author regardless of changes. This fix was easy. Fixing it to take actual changes into account would be significantly harder.

     
  • Wolf - 2011-06-15
    • status: in-progress --> code-review
    • assigned_to: Wolf --> John Hoffmann
     
  • John Hoffman - 2011-06-15
    • status: code-review --> closed
     
  • John Hoffman - 2011-06-15

    Rebased and merged to dev, code review looks good, tested ok as well.

     

Log in to post a comment.