Aliases are lost when entity language is changed from the edit form

Created on 19 January 2022, over 2 years ago
Updated 14 July 2023, 11 months ago

Problem/Motivation

In a multilingual context, where the ability to change the entity language from the edit form is enabled, aliases are lost when the language is modified.

Steps to reproduce

  1. Enable language module and activate 2 languages in a clean Drupal site, A&B
  2. Edit a content type and check the "Show language selector on create and edit pages" option
  3. Create a node of the content type above and fill the alias field
  4. Edit the node and change the language to B (You can modify the alias field or not)
  5. Save

Expected result

The alias is updated and available in language B

Actual result

The alias is lost and is necessary to edit again the node only to save the alias in language B

Proposed resolution

Remaining tasks

User interface changes

API changes

None

Data model changes

None

Release notes snippet

🐛 Bug report
Status

Closed: duplicate

Version

11.0 🔥

Component
Path 

Last updated 6 days ago

  • Maintained by
  • 🇬🇧United Kingdom @catch
Created by

🇪🇸Spain plopesc Valladolid

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.69.0 2024