Closed (fixed)
Project:
Search API
Version:
7.x-1.x-dev
Component:
Framework
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2014 at 06:27 UTC
Updated:
27 Nov 2014 at 13:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drunken monkeyThanks for creating this issue and providing a patch! You're right, seems we missed a few spots when changing this years ago.
However, only some of your suggested changes are actually valid, in some instances we still want to use
item_type. Also, thiswon't work as intended – if the index has no entity type,
getEntityType()will returnNULLandentity_get_info()will therefore return all entity infos, so the expression will always evaluate toTRUE.So, attached is a revised version of the patch which should fix the problem. Please tell me if you think that's OK, or if you're certain one of your other changes is needed (and why).
Comment #2
drunken monkeyOK, then, committed.
Thanks again for pointing these out!