Closed (fixed)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity property wrapper
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 May 2014 at 18:21 UTC
Updated:
22 Mar 2015 at 18:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
amitaibuPatch explicitly checks for FALSE.
Comment #2
amitaibuFound another place where we ignore the NULL value.
Comment #3
joshk commentedAny idea what needs to happen for this to get rolled in?
Comment #4
e0ipsoThis works as expected.
Comment #6
fagoIndeed, it should return TRUE if we do not know access. I fixed those return statements to return FALSE instead of NULL though, as it's documented that we return a boolean and this does not change existing behaviour then.
Committed, thanks.
Comment #8
bdupls commentedI am running entity 7.1.6 and get this error
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityDrupalWrapper->set() (line 737 of /Users/xxx/Sites/xxx/sites/all/modules/entity/includes/entity.wrapper.inc).
There seems to be other posts of this error so it seems that it is still a problem.
https://www.drupal.org/node/1519884
https://www.drupal.org/node/1925412
Is this caused by another module using entity? How do I problem solve?