Duplicate path alias when adding node translation

Created on 9 April 2025, 10 days ago

Problem/Motivation

When adding a node translation in a workspace, duplicated path aliases for the translated language get created.

Steps to reproduce

1. On a multilingual site create an unpublished node in the Live workspace
2. Create a new workspace
3. Add a manual path alias to the English/default language of the node, and publish the node
4. Add a translation for the node (language of your choice)
5. Notice that two path aliases get created for the translated node (instead of one)

Proposed resolution

Check if any path aliases exist before creating one

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component

path.module

Created by

🇸🇮Slovenia alecsmrekar

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024