Closed (fixed)
Project:
Group
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
23 Apr 2013 at 06:41 UTC
Updated:
22 Apr 2014 at 13:48 UTC
Jump to comment: Most recent, Most recent file
After I have created a Type and Role, set permissions, I cannot add a group.
I always get the following message.
You have not created any group types yet. Go to the group type creation page to add a new group type.
I'm working on the latest code base (22 Apr 2013 16:50:47)
In the previous version, I got the group creation form
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Snap 2013-04-26 at 17.48.12.png | 47.9 KB | thim |
Comments
Comment #1
oenie commentedThim,
Can you go through the steps you took before you got the errors ?I reinstalled our project and tried out your steps with a new group type & roles/permissions for it, but it works fine for me.
Did you clear caches, etc ... ?
OK, got the error on a clean install, i'm looking into it
Comment #2
oenie commentedThim,
From what i gather is that a cache clear should fix the problem.
I'm not sure yet whether this will be bug or feature. The question is whether you consider a group type a basic building block of the site, or expect group types to be added on a regular basis.
In the former case, a cache clear would be in order because the site base has been changed.
In the latter case, we might have to look into a way to auto-update the menu references when a new type is created (i.e. clear the menu cache)
At the moment i'm leaning towards keeping it cc all, mainly because you would rather create group types when you start building a site, and should stick to creating groups of a certain type once your site is up and running.
Comment #3
thim commentedHi Oenie,
I removed all tables and did a clean install.
Drush cc all
Added a type
Added a role
Set permissions
Drush cc all
Tried to Add group and then this resulted in the follow message
In the previous release, when I added a group to the URL on the group/add had a type attached to it.
In this release, it just says group/add
I'll do a reinstall later today and retest.
Comment #4
kristiaanvandeneyndeShould be fixed with commit 5e431d50.
Comment #5
thim commentedHi Kristiaan,
I tried it with the latest release of today (26/04 17:42)
And still no luck, even with several Cache Clears (drush cc all)
The add group link = /group/add (without the admin)
Is this normal?
Comment #6
kristiaanvandeneyndeCan you try to surf directly to group/add/ where is the machine name of the group type?
Comment #7
thim commentedI tried.
Or I get a permissions denied screen or I get 404
Comment #8
thim commentedProblem solved.
If you create a group, a new permission becomes available to "Create new group" for the created group_type.
Perhaps, refer in the message to check the permissions?
Comment #9
thim commentedComment #10
kristiaanvandeneyndeGlad you figured it out, adding this to our backlog.
Comment #11
kristiaanvandeneyndeFixed as per commit 264a003