Closed (fixed)
Project:
Variable
Version:
7.x-1.1
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2011 at 17:10 UTC
Updated:
6 Mar 2012 at 12:20 UTC
When creating an entity "store" with hook_entity_info() and loading this entity later using entity_load('store', ...), hook_TYPE_load (in this case hook_store_load) is being called. This will result in a name conflict with variable_store_load, which is being called in this case, althought it shouldnt.
I suggest renaming this function and its only call (variable_store.module in lines 18 and 67).
Comments
Comment #1
jose reyero commentedOk for renaming patches, though this is not a hook in variable module, but a result of poorly named hooks elsewhere.
Comment #2
jose reyero commentedRenamed to _variable_store_load()