{node_comment_statistics} 'last_comment_uid' stores the node author's uid if there are no comments. However, if the node's author is changed, the value is not updated causing issues elsewhere. (side note: this is also in d6).

CommentFileSizeAuthor
#1 comment-node-update.patch1.21 KBbleen

Comments

bleen’s picture

Status: Active » Needs review
StatusFileSize
new1.21 KB

How bout this...

jonathan webb’s picture

Status: Needs review » Closed (duplicate)

This patch only considers the case with the author changing; however a related issue occurs if you change the creation time for a node.

This issue is a duplicate of #55246: Node updates are not reflected in node_comment_statistics correctly.