7.x-2.0-beta1 was released yesterday. Are there plans being made to make spaces compatible with og 2.x. I've looked into what would be required and a lot of the helper functions are no longer present in organic groups for example og_get_group_membership is gone.

I would like to start this issue to discuss requirements for the port to 2.0

Comments

arosboro’s picture

Here's a port to support og 2.0-beta1. Haven't tested yet other than verifying that the features tab appears in a group.

Patched against the 7.x-3.x branch

arosboro’s picture

Update to prevent loading an entity with a NULL id

socialnicheguru’s picture

this patch works for me

arosboro’s picture

Status: Active » Needs review
StatusFileSize
new6.34 KB

Thanks for testing. I had some access issues related to space's access_feature where anonymous users could not access group content. This patch resolves those issues.

mikemccaffrey’s picture

Out of curiosity, has anyone compared this attempt to patch spaces_og for 7.x-2.x with the previous issue that was opened in March?
#1470434: Updating spaces_og to work with OG 7.x-2.x

arosboro’s picture

didn't see that one, some of the code looks pretty similar maybe we should merge the better parts of each patch

rbrandon’s picture

Arosboro,

I updated my patch in #1470434 . We have been running it for a while. I confirmed that everything covered in your patch above is also in the patch I posted.

There is a good deal of work in place to get the spaces_current_space filter working correctly. The patch is good to work with the latest OG release and spaces 3.x. Would love for you to give it a try and see if it meets your needs. Probably best to coordinate our efforts.

-Richard

socialnicheguru’s picture

the patch in #4 no longer applies cleanly to the new dev version of spaces

arosboro’s picture

Status: Needs review » Closed (duplicate)

This patch has been merged with #1470434: Updating spaces_og to work with OG 7.x-2.x. closing the issue now...

arosboro’s picture

Issue summary: View changes

Updated issue summary.

mhamed’s picture

The same problem: I m trying to work on a project of association and the og module integration with spaces API gives a halt.
Perhaps the last patch merge does not do
or
some others module bad integration with og ?
here are the modules enabled:

context
ctools
entity
entityreference
features
i18n
message_notify
module_filter
og
og_views
og-7.x-2.x-dev.tar.gz.tar.tar.gz
panels
pathauto
purl
rules
spaces
taxonomy_menu
taxonomy_menu_trails
token
variable
views
views_bulk_operations

White page on :

but on drush whatever operation the error is this:Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function og_get_group() in
localhost/sites/all/modules/contrib/spaces/spaces_og/plugins/space_og.inc, line 15

i tried the dev version of spaces and og
but not resolved
has anyone overpass this recently
thanks

prashant.c’s picture

Issue summary: View changes
Status: Closed (duplicate) » Needs work

Patch submitted in #4 not solving the problem using og 7.x-2.7 version and Spaces 7.x-3.0-alpha1 version, still facing the same issue Error: Call to undefined function og_get_group() in spaces/spaces_og/plugins/space_og.inc, line 15.