Mentions created every time a node is saved

Created on 20 June 2023, about 1 year ago
Updated 24 April 2024, 2 months ago

Problem/Motivation

Every time a node is saved a mention is created. Old mentions are not recognised correctly leading to this.

Steps to reproduce

Create a mention in a node.
Edit and save the node without any changes.

2 changes exist in the database instead of 1

Proposed resolution

The problems seems to be in function `mentions_crud_update` where it uses `$entity->get('uid')->getValue()[0]['value']`

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡·Greece lunatic

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

Comments & Activities

Production build 0.69.0 2024