Closed (fixed)
Project:
Deploy - Content Staging
Version:
7.x-2.x-dev
Component:
views_deploy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2011 at 15:21 UTC
Updated:
5 Apr 2012 at 12:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
dixon_Awesome, thanks! You are the man of the day! :)
Committed to 7.x-2.x.
Comment #3
citlacom commentedHello,
I seen this issue and I'm surprised due experimenting the same problem but in reverse order. I mean that the $entity_type variable is null when this line is executed:
$entity_type = $table_data['table']['entity type'];
As a result when we call to entity_load( $entity_type = '', $ids = array (0 => 7, 1 => 6), $conditions = ???, $reset = ??? ) that variable is not defined and raise a fatal error.
I'm trying to create a Feature which export the nodes into a Feature using UUID last dev version and the last dev version of Deploy. If I revert this patch this error get resolved. Some ideas?
Thanks.
Comment #4
mh86 commentedmaybe your Views version isn't up-to-date?
Comment #5
alexiswatson commentedThe entity type is indeed not fixed, despite all modules being at their latest devs. This is because we're getting $entity_keys as a type-keyed array of entity ids, but we're not actually looking at the key to get the entity type, causing all sorts of nightmarish things to happen stemming from $entity_type not being set properly (including the fatal error mentioned above).
The following patch should fix the issue. Review and feedback welcome!
Comment #6
alexiswatson commentedDisregard. Breaks other things. Going to have to fix it from the other end...
Comment #7
aspilicious commentedI think this is fixed now, please reopen if needed.
current code