Duplicate entity error

Created on 15 December 2023, 7 months ago
Updated 31 January 2024, 5 months ago

Problem/Motivation

Use this module on Contenty Type and Comment at the same time.

Steps to reproduce

I tried to use this module by adding the like_dislike field to the default Article and Page in Drupal 10 (new installation),
And I also added the field like_dislike to Comments (Drupal default in a new installation).

The problem is that sometimes the entity_id: Id of entity(content), is the same for the Node ID and for the Comment.

Create an article or page, add some users, make some comments on that article or page and then try to like them,
some of them will not work the like/dislike, and upon inspection, it will be noticed that the entity id is the same for the node and for some comment.

e.g. to like/dislike of the page and the same to some comment.

🐛 Bug report
Status

Needs review

Version

2.4

Component

Code

Created by

🇧🇷Brazil peduardo

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

Comments & Activities

Production build 0.69.0 2024