Download & Extend

When all bundles is selected, an empty list is returned

Project:Entity reference
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:major
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

When "entity type" : "all bundles" is selected, an empty list is returned.

Comments

#1

This was caused because the target_bundles array was filled even if all bundles was selected.
Because of that, an entityCondition('bundle') was added to the entityFieldQuery() object.
As a consequence, an empty result was returned.
Corrected by adding a condition to check if bundle isn't empty.

AttachmentSizeStatusTest resultOperations
1257284-all-bundles.patch495 bytesIgnored: Check issue status.NoneNone

#2

Status:needs review» fixed

Thanks for your report. Merged a slightly different fix in b5c6e31.

#3

Status:fixed» closed (fixed)

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

nobody click here