When trying to add a second parent to a term, the action overrides the existing parent. This was working properly in taxonomy_manager-7.x-1.0-rc2


SpaJenniOs’s picture

Status: Active » Needs review
2.01 KB

patch attached

SpaJenniOs’s picture

Bump. Can I get some eyes on this please? This issue also exists in 7.x-1.x.

SpaJenniOs’s picture

ignore this patch.

SpaJenniOs’s picture

Updated patch. Prevents user from adding a parent that already exists on the term.

SpaJenniOs’s picture

Updated patch is attached. Updated comments per coding style.

SpaJenniOs’s picture

Updated patch. When adding a parent to a term, the root entry in the hierarchy table should be updated. The previous patch allowed a term to have the root and another term as its parent at once.

adrien.felipe’s picture

While I still can't add a term to have root as parent and another term from the Taxonomy Manager module, #6 works for me to avoid loosing root as parent when saving the term.

Thansk a lot for the patch.

dillix’s picture

Status: Needs review » Reviewed & tested by the community

#6 also works for me