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".

Comments

bdimaggio created an issue. See original summary.

bdimaggio’s picture

legolasbo’s picture

Status: Active » Needs work

I'd like to see a regression test that demonstrates that this issue exists and that your patch fixes it.

legolasbo’s picture

Status: Needs work » Needs review
StatusFileSize
new5.27 KB
new6.19 KB

It turns out we already had a test for this, but that the test was broken. This should fix it.

marcoweijenborg’s picture

Status: Needs review » Reviewed & tested by the community

This seems good to me.

  • legolasbo committed 1b93170 on 8.x-1.x
    Issue #3014387 by legolasbo, bdimaggio, marcoweijenborg: Duplicate...
legolasbo’s picture

Status: Reviewed & tested by the community » Fixed

Fixed and committed to 8.x-1.x. Also created a new alpha release while I was at it.

legolasbo’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.