Needs work
Project:
Diff
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Oct 2024 at 15:16 UTC
Updated:
22 Aug 2026 at 00:12 UTC
Jump to comment: Most recent, Most recent file
On a multilingual website and in a content that has a field with entity reference (taxonomy), during the version comparison when the taxonomy has translations it gets confused with the languages, showing the title in fr, for example, when comparing the revision in English.
Steps to reproduce
The issue occurs using Split fields and Unified fields layouts, it works correctly with visual inline layout.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3480594-diff-entity-reference-field-not-picking-up-correct-language.patch | 1.06 KB | leticia gauna |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
leticia gauna commentedComment #3
leticia gauna commentedHere is the patch. Let me know if it could be related to anything else, or if there is already an issue for this issue, thank you!
Comment #4
leticia gauna commentedComment #5
heddnFor this to be reviewed and accepted, please review https://git.drupalcode.org/project/diff#contribution-guidelines. Specifically, we'll need an MR opened and some tests.
Comment #6
neptune-dc commentedI can confirm that the patch works as expected. It also displays the correct content language for content reference fields.