Closed (fixed)
Project:
Search API
Version:
7.x-1.x-dev
Component:
Framework
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2015 at 08:05 UTC
Updated:
20 Sep 2015 at 10:04 UTC
Jump to comment: Most recent
Comments
Comment #2
stan.ag commentedGot this error when deleting commerce products.
Why not simply change
isset($entity->original)to!empty($entity->original)in conditional?Comment #3
stan.ag commentedRestoring issue summary... :)
Comment #4
mbayntonEncountered this issue, confirmed the patch in the issue summary fixes it. If I were the maintainer I'd be calling for test coverage though.
Comment #5
drunken monkeyCommitted the fix with
!empty()instead ofisset(). Seems like poor code by the Entity API, though – but I guess just working around that is the best we can do.