id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 31270,Unexpected slugs for same-title different-parents term creation,dd32,boonebgorges,"When creating a new term which matches an existing terms name, it uses that slugs slug as the slug prefix, which can result in an unexpected term slug. For example, take this: {{{ Foo (slug: foo) - Bar (slug: foo-bar) }}} If we now create a root level ""Bar"" term, it'll get a slug of {{{foo-bar-2}}}, when one would expect it to receive {{{bar}}} since no conflicting slug exists. This is related directly to [28733] / #17689. Unit test attached showing behaviour.",defect (bug),assigned,normal,,Taxonomy,4.1,normal,,has-patch needs-unit-tests needs-refresh,,