Organic Groups integration doesn't work in Drupal 7

Created on 31 July 2013, over 11 years ago
Updated 4 July 2023, over 1 year ago

The Organic Groups integration in this module doesn't seem to work at all. The code looks for $object->og_groups on entities, but as far as I can see that's a Drupal 6 thing?

Here's an untested patch that should mostly get it working. (This is untested because I realized after working on it that the OG-related features in this module aren't quite what I needed anyway, so I'm not actually using it.)

I am not sure if a module_exists('og') call needs to be added anywhere; before the patch if OG was disabled then presumably $object->og_groups would always be empty, but now there's at least the possibility of undefined function errors.

πŸ› Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States David_Rothstein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡«πŸ‡·France jvieille

    I confirm this module does not work at all, even with patch #9
    The same views display used in multiple groups shows the same content in all groups once the cache is set.
    The module Views og cache behaves correctly

Production build 0.71.5 2024