The "edit" link in the item row in the entity subqueue is pointing always to the default language

Created on 8 May 2025, 8 days ago

Problem/Motivation

There is a "edit" link in the table where all the items belonging to an entity subqueue are listed. This link always points to the edit form of the entity in the original entity language. Is not taking into account the interface language as it does with the title, for example.

Steps to reproduce

- Have a Drupal site with EN and ES languages enabled
- Have a Entity queue accepting page nodes and multiple subqueues.
- Create an entity subqueue of entity queue type just created
- Create a page in English
- Translate the page to Spanish
- Add the page to the entity subqueue just created
- Go to the entity subqueue canonical page in /en/admin/structure/entityqueue/ENTITY_QUEUE_TYPE/ENTITY_SUBQUEUE_ID
- Check that the page title is rendered in English and the Edit link points to the English node edit form
- Now browse to /es/admin/structure/entityqueue/ENTITY_QUEUE_TYPE/ENTITY_SUBQUEUE_ID
- Check that the page title is rendered in Spanish but the Edit link still pointing to the English node edit form

Proposed resolution

Use the translated entity when the edit link is generated.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain unstatu

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