entity_generate plugin produces duplicate named entities

Created on 8 November 2019, about 5 years ago
Updated 3 June 2024, 6 months ago

I am using the entity generate plugin to produce taxonomy terms on migrate-import, however it consistently creates duplicate terms. Oddly, it only ever produces one duplicate. I've tested this by removing any previous plugins that are piping into the entity_generate plugin.

See the numerous duplicates below:

πŸ› Bug report
Status

Active

Version

4.2

Component

Plugins

Created by

πŸ‡ΊπŸ‡ΈUnited States brooke_heaton

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.

  • πŸ‡«πŸ‡·France mitsuko

    Hi Everybody,

    I'm a little surprised

    5 years since this issue was open and I have the same result/bug.
    When I use the entity_generate plugin, I get one duplicate by term...

    As the nodes (parent's entity) are distributed over the 2 terms each time, the plugin is completely unusable as is.

    So I wonder if this is a true bug or if I'm missing something?

    Modules involved in my migration process :

    • Migrate
    • Migrate Plus
    • Migrate CSV Source
    • Migrate Tools

    Thanks a lot for any clue...

  • πŸ‡«πŸ‡·France mitsuko

    Reply to myself, brooke_heaton and other folks who could land here :

    be careful to delimiter :

    If you have multivalues field like that : "Apple, Banana, Cherry"
    Delimiter must be ", " not ","

    The extra space avoid bad duplicate behavior... which is ultimately a understandable behavior.

    Maybe this issue could be closed with the "Work as designed" statut ?

Production build 0.71.5 2024