Active
Project:
Organic Groups
Version:
7.x-2.x-dev
Component:
og-ui
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Sep 2013 at 23:10 UTC
Updated:
1 Oct 2013 at 13:10 UTC
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
Comment #1
NofarG commentedI 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)
Comment #2
amitaibuCorrect status
Comment #3
kari.kaariainen commentedAfter 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
Comment #4
kari.kaariainen commentedBetter title.
Comment #5
kari.kaariainen commentedWhen 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.
Comment #6
NofarG commented