Likes count is sometimes not correct because its doesn't check entity type

Created on 2 April 2020, over 4 years ago
Updated 2 March 2023, over 1 year ago

The count function in this module is not checking the entity type.

If this module is used for multiple entity types, for example node and comment the count can become incorrect. This is the case when a node is liked and a comment has the same ID as the node, the comment will then also have a like.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands e.ruiter

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024