collective.taxonomy icon indicating copy to clipboard operation
collective.taxonomy copied to clipboard

Changing taxonomy term id looses existing content values

Open laulaz opened this issue 2 years ago • 1 comments

With the new ability to change terms identifiers (see #72 & #113), we can now change the identifier of a term, even if it is already used on a content (value selected on the behavior). As there is no migration code in the pull request, the existing values are then "lost".

IMHO, we should :

  • migrate the existing values used (if their identifier changed)
  • prevent user to change terms identifiers that are already used
  • or at least warn the user in the control panel

@Petchesi-Iulian @ale-rt @alecghica @avoinea what do you think of this ?

laulaz avatar Mar 15 '22 13:03 laulaz