hook_entity_insert make pathauto duplicates when saving node multiple times

Created on 3 May 2021, almost 4 years ago
Updated 11 March 2025, 25 days ago

Problem/Motivation

when using hook_entity_insert, it creates a duplicated record for same entity.

Proposed resolution

add a check for insert operation to prevent redundant aliases created for same entity.

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.8

Component

Code

Created by

🇪🇬Egypt Mohamed Nabawy

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