Needs work
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity property wrapper
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2011 at 22:46 UTC
Updated:
29 May 2017 at 06:21 UTC
Jump to comment: Most recent
Comments
Comment #1
fagoI've already seen people reporting this, but I cannot reproduce it by using commerce coupon myself. I guess this is caused by an incomplete cache caused by cache-rebuilding issues.
Try inspecting your entity info and entity property info caches and check whether they are complete.
Comment #2
roynilanjan commentedHi @fago, it seems very generic issue for the entity API + Cache, for my case
- Once a og(organic group) is associated with a node
- Now clear the cache
- Node view page breaks as *Unknown data property type*, now if I check from console for this particular
node id as *drush eval "print_r(entity_metadata_wrapper('node',node_load([nid]))->getPropertyInfo())"*
no basic properties nodes are available in the array structure
- now execute *drush registry-rebuild* & *drush cc all* then only can see the all the properties of node for the above snippet
Note: I'm using PHP 5.6.30 version
Is there anything related PHP compiler of this version that cache behaves inconsistently & breaks the registry as well.
But in my lower environment(PHP-5.3) that doesn't have such issue.
Regards,
Nilanjan
Comment #3
roynilanjan commented