Closed (duplicate)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity property wrapper
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2011 at 13:54 UTC
Updated:
28 Aug 2011 at 13:23 UTC
Not sure if a bug or a feature. Here's a scenario
1) User created a node with node-reference referencing nid 1, 2, 3
2) Other user deleted nid 1
3) Now, $wrapper->field_node_ref->value() will throw an exception.
Since there's no field API bulk delete, we can't make sure the field storage has the most up-to-date data.
Comments
Comment #1
amitaibuDuplicate of #1030140: Do not throw exceptions when wrapping an entity with a stale reference