Creating a new term equal to an existing synonym overwrites the parent term

Created on 10 March 2020, over 4 years ago
Updated 1 July 2023, 12 months ago

If you create a new term with the same name as an existing synonym, it will overwrite the parent term of that synonym with the values from the new term form. This will most likely include erasing any other existing synonyms of the parent term (since the Synonyms field of the new term will probably be blank). This kind of unintentional data loss seems very bad to me.

I can't tell from the parent issue, #1948508, if this was introduced by that fix, or if it was a pre-existing problem. There is some suggested code in there that may provide a fix.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brad.bulger

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024