processOutbound is generating wrong URL when entity is not available on current domain

Created on 26 March 2020, over 4 years ago
Updated 12 March 2024, 4 months ago

The CountryPathProcessor::processOutbound is generating wrong URL when entity is not available on current domain. Fixing this solves many backend navigation issues. I enclose a patch to solve that.

This can be tested on admin content page and also on Translation tab for nodes and taxonomies.

Similar bug fixed on Domain Path module: #3122607: processOutbound is generating wrong path when entity is not available on current domain β†’

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain rcodina

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.

  • Hi,

    thank you for the patch.

    However, I would like to report a strange behaviour regarding the links inside the admin/content page and the /translations table: they all point to the same version of the page having the user language in its URL, instead of the translation language.

    For instance, I have a page "page" translated in english (default), italian, french. In the translation table, I see the three versions of the page, but each one of them has the same anchor link to the /it/page, so also the english and the french links point to the italian version (italian is my user default language). The same happens in the admin/content table.

Production build 0.69.0 2024