Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Right now og_views_data_alter() does:
function og_views_data_alter(&$data) {
foreach (entity_get_info() as $entity_type => $info) {
if (!empty($info['fieldable'])) {
// OG group relationship.
if ($entity_type != 'group') {
$data[$info['base table']]['og_rel'] = array(
It doesn't check if the entity type has views integration in the first place, so it adds the og tables to $data['rules_config'] for example, which leads to VBO notices: #1418376: Notice: Undefined index: table in views_bulk_operations_views_data_alter().
I'll add an additional check to VBO, but it's probably a good idea to do an if (empty($data[$info['base table']]) { continue; } at the top of that foreach.
This issue might not apply to 7.x-2.x, since I see that it does check if the entity type is an OG entity type, which might be enough.
Comments
Comment #1
amitaibuFixed, thanks for the report.