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.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: kari.kaariainen commentedBetter title.
Comment #5
kari.kaariainen CreditAttribution: 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 CreditAttribution: NofarG commented