Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
7.x-3.x-dev
Component:
Core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2012 at 03:00 UTC
Updated:
14 Feb 2012 at 04:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
bojanz commentedCan you please open views_bulk_operations.views.inc, and before line 9 add the following code:
then, run it (clear cache if you can no longer see the error) and paste the output.
Thanks!
Comment #2
jide commentedHaving the same issue, here is the dump :
Comment #3
jide commentedSeems that base table can be different than the entity type, which causes the error.
Comment #4
bojanz commentedWell, I'm confused.
Can you alter the pasted code to:
So that we can see what the offending data is. And how recent is your Entity API install? Looks like all these modules rely on Entity API for Views integration, but in that code I don't see anything wrong...
Comment #5
jide commentedI had entity_api rc1, just updated to latest dev and the issue is still here.
Here is the new dump :
Comment #6
jide commentedHmmm at first look it looks like it's OG having membership tied to every entities that causes the problem.
Comment #7
bojanz commentedThis is a bug in OG. It should not add its tables for entity types with no views integration.
Opened an issue in the OG queue: #1421084: Don't add OG views data to entity types with no views integration, and I'll add an additional check in VBO to avoid the notice for now.
Comment #8
jide commentedGood catch, thanks.
Comment #9
kaizerking commentedI got this result,
string(20) "i18n_translation_set" array(2) { ["flag_content_rel"]=> array(4) { ["group"]=> string(5) "Flags" ["title"]=> string(20) "Translation set flag" ["help"]=> string(116) "Limit results to only those entity flagged by a certain flag; Or display information about the flag set on a entity." ["relationship"]=> array(6) { ["flag type"]=> string(16) "i18n_translation" ["handler"]=> string(33) "flag_handler_relationship_content" ["label"]=> string(4) "flag" ["base"]=> string(12) "flag_content" ["base field"]=> string(10) "content_id" ["relationship field"]=> string(4) "tsid" } } ["flag_count_rel"]=> array(4) { ["group"]=> string(5) "Flags" ["title"]=> string(28) "Translation set flag counter" ["help"]=> string(54) "Include this to gain access to the flag counter field." ["relationship"]=> array(6) { ["flag type"]=> string(16) "i18n_translation" ["handler"]=> string(32) "flag_handler_relationship_counts" ["label"]=> string(7) "counter" ["base"]=> string(11) "flag_counts" ["base field"]=> string(10) "content_id" ["relationship field"]=> string(4) "tsid" } } }
Comment #10
bojanz commentedTry this patch, let me know if this fixes it and no other notices appear.
Comment #11
jide commentedThe patch resolves the issue, and I do not see any other notice.
Comment #12
bojanz commentedCommitted. Thanks for testing.
Comment #13
kaizerking commentedresolved, Thanks