Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
It seems the is_comment_count
field is not getting updated when a comment is deleted for a particular node. The comment count however gets updated once a new comment is added. I am using the is_comment_count
solr field via a solr view.
Apparently it seems like the module is doing something during the entity add/update which is updating this field, that it is skipping (intentionally or by mistake) during deleting the entity (comment in this case).
Can someone check and confirm if this is the same for all?
Thanks
Comments
Comment #2
pratip.ghosh CreditAttribution: pratip.ghosh commentedComment #3
pratip.ghosh CreditAttribution: pratip.ghosh commentedSeems like an issue with the fact that when the module is calling
hook_comment_delete
the comment is not actually deleted. Hence the count remains the same? Any ideas?