I get the following warning, but all seems ok if I select the parent group manually while creating a subgroup.
warning: array_values() [function.array-values]: The argument should be an array in C:\sites\drupal66\sites\all\modules\og_subgroups\og_subgroups.module on line 273.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | og_subgroups.module.patch | 796 bytes | seutje |
Comments
Comment #1
attiks commentedIf I don't select a parent book, the node got created, but doesn't get attached to the parent.
Comment #2
amitaibuI didn't understand the scenario - can you attach a screenshot of your settings.
Comment #3
attiks commentedI have a link 'create subgroup' like this node/add/og_user_roles_subgroup?gids[]=231 which redirects to node/ognodeadd?type=project&gids[]=231
On that page I can select the book to which this node will belong:
- if I select the parent group I get the error message but the outline is good
- if I don't select the parent group I get a node which doesn't belong to a group and I have to use the 'outline' link to fix it.
I hope it's a clear now
Comment #4
amitaibuBy the link I think you use og_role. Please disable it and try again. Again, a screenshot will make it more clear,as I'm unable to reproduce.
Comment #5
attiks commentedYou're 100% right, I'll check their issue queue
Comment #6
seutje commentedI just got the same error after disabling the access right for "administer book outlines"
before I disabled that I wasn't getting the error and I'm not getting the error on UID1
however, when I get the error, nothing went wrong... the outline is correct and everything
considering this happens in the propagate helper function, I suppose it might be usefull to share my propagate settings:
group post propagation: none
user propagation:
direction: parent
admins propagation: Don't propagate admin rights, only membership
Rights demotion: none
hope this helps
Comment #7
Leeteq commentedSubscribing.
Comment #8
seutje commentedmight of fixed the issue by replacing lines 273 & 274:
with
but am yet to fully test if this leads to desired behavior
Comment #9
seutje commentedtiny patch for HEAD
it gets the mlid in a more reliable way I suppose
Comment #10
seutje commentedforgot to change status
Comment #11
YK85 commentedHello,
Is this still an issue?
Thank you
Comment #12
bschilt commentedThis issue is only specific to the 6.x-0.x branch and that branch is no longer supported. The 6.x-1.x branch does not use the book module to create the hierarchies.