Found in #2486177-94: Deleting an entity translation from the UI deletes the whole entity.
Problem/Motivation
Contextual links do not take language into account, thus they stored in the client's local storage once and for all regardless of the site language and possibly the target content language.
Proposed resolution
Always pass the URL language as metadata to build language-aware ids.
Remaining tasks
- Validate the solution
Write a patch- Review it
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#8 | contextual-multilingual-2488940-8.patch | 10.89 KB | plach |
Comments
Comment #1
plachWorking on this
Comment #2
plachLet's try this
Comment #5
plachThis should be better
Comment #6
plachComment #7
dawehnerWhat about using $args += ['metadata' => []]; and $args['metadata'] += ['langcode' => $langcode];
Comment #8
plachAddressed #7
Comment #9
dawehnerThis looks perfect for me
Comment #10
alexpottThis issue addresses a major bug and is allowed per https://www.drupal.org/core/beta-changes. Committed 0b1a9a3 and pushed to 8.0.x. Thanks!
Comment #12
Gábor HojtsyYay, thanks!