- Issue created by @bmateus
- First commit to issue fork.
- Status changed to Needs review
8 months ago 1:06am 9 May 2024 - 🇦🇺Australia almunnings Melbourne, 🇦🇺
Thanks for the bug hunt
The behaviour explanation could be:
Edge connections (menus and routes) when using a langcode changes the context of the response using the
language_context
producer. EG:# EdgesSchemaExtension $builder->produce('language_context')->map('language', $builder->fromArgument('langcode')),
Which basically tells Drupal "I expect everything and all subsequent results in this language" - Which avoids prop drilling the langcode, at the expense of modifying the entire query (which sometimes sucks if you're batching queries in alternating languages)
Fundamentally: Without the 'language context', when generating a url, it thinks it's the site default.
Simple fix: Slam the field's language into the url after generation. Bingo!
- Status changed to Fixed
8 months ago 2:09am 13 May 2024 - Status changed to Fixed
8 months ago 9:29am 13 May 2024