I have an entity reference field to several node bundles.
If I configure bundle as an array, it fails with an error in query.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kiseleva.t created an issue. See original summary.

kiseleva.t’s picture

Status: Needs work » Needs review
StatusFileSize
new978 bytes

Added static version of patch.

matroskeen’s picture

Status: Needs review » Needs work
Issue tags: +LutskGCW22, +Needs tests

The request looks reasonable. Let's add some test coverage.

matroskeen’s picture

Status: Needs work » Needs review
Issue tags: -Needs tests
StatusFileSize
new2.93 KB

Here is a patch that matches the merge request changes.

  • Matroskeen committed 313db4c on 8.x-5.x
    Issue #3253347 by Matroskeen: Allow to use several bundles in...

  • Matroskeen committed f993931 on 6.0.x
    Issue #3253347 by Matroskeen: Allow to use several bundles in...
matroskeen’s picture

Status: Needs review » Fixed

Committed to 8.x-5.x and 6.0.x.
Thanks!

Status: Fixed » Closed (fixed)

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