In both of the following situations, duplicate references to the target term are happening:
* The user is trying to merge "Term A" and "Term B" into "Term C", and a referencing entity references both "Term A" and "Term B"
* The user is just trying to merge "Term A" into "Term B", and the referencing entity already references "Term B".
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3014387-4.patch | 6.19 KB | legolasbo |
| #4 | 3014387-4-test-only.patch | 5.27 KB | legolasbo |
| #2 | term_reference_change-fix_dupes-3014387-2-D8.patch | 1.37 KB | bdimaggio |
Comments
Comment #2
bdimaggioComment #3
legolasboI'd like to see a regression test that demonstrates that this issue exists and that your patch fixes it.
Comment #4
legolasboIt turns out we already had a test for this, but that the test was broken. This should fix it.
Comment #5
marcoweijenborg commentedThis seems good to me.
Comment #7
legolasboFixed and committed to 8.x-1.x. Also created a new alpha release while I was at it.
Comment #8
legolasbo