The entity_lookup process plugin accepts multiple values, but it only ever returns a single matched entity. It would be great for multivalue fields if this could return all the matched entities.

Here's a patch that updates the plugin to return all matched entities; the patch also moves the destinationProperty mapping so that it happens after case-sensitive filtering happens.

CommentFileSizeAuthor
entity_lookup_multiples.patch1.54 KBbecw

Comments

becw created an issue. See original summary.

becw’s picture

Issue summary: View changes
mikeryan’s picture

Title: Allow returning multiple results from the entity_lookup process plugin [patch] » Allow returning multiple results from the entity_lookup process plugin
Status: Active » Needs review
tjh’s picture

This patch applied & correctly migrated a field referencing multiple taxonomy terms.

  • mikeryan committed 70ef079 on 8.x-2.x authored by becw
    Issue #2782961 by becw: Allow returning multiple results from the...
mikeryan’s picture

Status: Needs review » Fixed

Committed, thanks!

  • mikeryan committed 70ef079 on 8.x-3.x authored by becw
    Issue #2782961 by becw: Allow returning multiple results from the...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.