If I create a group type and then (before adding any group content) go to admin/config/group/permissions, the group type that I just created appears on the list, but the link for editing permissions is nonfunctional, clicking it just gives the same page.

After adding group content it works.

Comments

NofarG’s picture

I wasn't able to reproduce your bug...
Can you reproduce it on a clean installation?
What entity did you use for the group? (Node etc)

amitaibu’s picture

Status: Active » Postponed (maintainer needs more info)

Correct status

kari.kaariainen’s picture

After testing some more I noticed that it's actually only the last group type's edit link that is nonfunctional, ie. second if there are two, third if there three etc. Also, adding anything (groups or group content) doesn't seem to play any role.

I was using node entity.

This issue talks about the same thing: #2048031: Cannot load OG Roles or OG Permissions Overview

kari.kaariainen’s picture

Title: OG permissions overview lists nonfunctional links before group content has been created » Cannot view the OG permissions overview and OG roles overview for the last group type on the list

Better title.

kari.kaariainen’s picture

Priority: Minor » Normal
Status: Postponed (maintainer needs more info) » Active

When og_ui_menu (hook_menu) in og_ui.module is called at creating a new group type, this foreach loop (in two places, for the permissions and roles)

foreach (og_get_all_group_bundle() as $entity_type => $bundles) {

doesn't get the last, newly created, bundle and fails to create the menu router item. After clearing cache it works.

NofarG’s picture

Assigned: Unassigned » NofarG