Closed (fixed)
Project:
OG User Roles
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2009 at 00:25 UTC
Updated:
30 Mar 2009 at 20:51 UTC
I had a handful OG groups created on a somewhat fresh installation (OGUR never installed).
When i install OGUR all options are there, the membership assignment stuff also appears in the group
membership area but when you hit edit on the group node itself, no option there shows up - for
example the group logo and other related stuff. 1.3 only, 1.2 works fine.
Comments
Comment #1
somebodysysop commentedEven as user #1?
Comment #2
michtoen commentedyes, that was my first guess too. They don't appeared
Comment #3
somebodysysop commentedI've updated 3 sites with ogur 6.x-1.3 and don't see this. Is ogur otherwise working as expected?
Comment #4
michtoen commentedI don't tested it out... I also checked my old install, where 1.2 worked since some time - if i upgrade to 1.3 the
options in the OG content types vanished.
It can perhaps a site effect of my installed modules.
I have this installed:
Drupal 6.9
Block Cache Alter 6.x-1.1
Cache browser 6.x-1.3
Email Change Confirmation 6.x-1.2
Format Number API 6.x-1.3
Image 6.x-1.0-alpha4
ImageAPI 6.x-1.2
ImageCache 6.x-2.0-beta5
Messaging 6.x-1.1
Notifications 6.x-1.1
Organic groups 6.x-1.1
Organic groups permissions 6.x-1.x-dev (2009-Jan-12)
Pathauto 6.x-2.x-dev (2008-Dec-14)
Path Cache 6.x-1.2
Privatemsg 6.x-1.x-dev (2009-Jan-28)
Quota by role 6.x-7.x-dev (2008-Apr-02)
Signup 6.x-1.0-rc3
Token 6.x-1.x-dev (2008-Dec-11)
Views 6.x-2.2
Web File Manager 6.x-2.10-rc3
Well, nothing real special...
I have no idea, but the effect appears on a 6.8 with this and moree modules on my windows localhost and
on a full featured debian server with this setup.
Comment #5
somebodysysop commentedI suggest you test it.
Could you explain this in more detail?
In administer->organic groups->ogur settings, the first fieldset should be Your Group Content Type role options which contains the list of "Assignable roles". Do you see your Group Content Type here and/or Assignable roles?
Comment #6
somebodysysop commentedBy the way, here is the code which controls placing the ogur options on the group node page. This code has not changed since 6.x-1.2:
Are you saying that all the modules on your site are the exact same when you install 6.x-1.3 as they were when you were running 6.x-1.2?
Comment #7
michtoen commentedright.
Sorry, i am building just my site, i have not much time for testing.
I did some speed test - the problem of OGUR and other modules
that they disabled the block cache is a big problem for us, we
have alot registered users in short times (>100k).
We can go the easy way: i contact you over this website and you can
login to my current site as admin and play around a bit, i have not
transfered the user DB and you can see the effect.
Comment #8
somebodysysop commentedI'm not sure how you figure I'm supposed to have time to work through your problem while you don't have time to test on your end.
See above.
This issue appears to be related: http://drupal.org/node/369847
Now, I'm confused because you said 6.x-1.2 works but 6.x-1.3 doesn't. If I understand what you're saying in the related issue above, NO ogur 6.x release should be working for you at all.
Unless you're mixing issues, I still don't get what the problem is since ogur 6.x-1.2 and 6.x-1.3 are almost identical.
Comment #9
michtoen commentedNot sure you understand: If you creating a OG group... then, you go to edit that group.
You see there the options from OGUR. Like, you can upload a logo to that group.
We talk about the node, not the about the admin area.
With 1.3, the OGUR options are not in the edit part. With 1.2, they are.
I just reported it, perhaps its me.
Sorry when it sounds rude, but i have not he time to test it from ground.
Let the topic open, if its a valid problem other will report too.
Comment #10
somebodysysop commentedI understand.
Same problem with 6.x-1.x-dev?
Comment #11
kobnim commentedI am having the same problem, with 6.x.-1.3
I tried replacing this line in the module:
with this one
and the missing items reappeared.
I then printed out the variable $_SESSION['og_last'], and it is an integer (the node ID). There is no 'nid' field.
So I then tried replacing the original line with the following, and the missing lines reappear:
Is this the correct fix?
Would you advise me to replace all the occurrences of
$_SESSION['og_last']->nidwith
$_SESSION['og_last']Thanks,
Mindy
Comment #12
somebodysysop commentedApparently, OG has changed the format of og_last in 6.x. It is now an integer as opposed to an object. Committed this change to cvs. Install the latest dev (in about 12 hours) and please report back as to whether this resolves issue. If it does, then a new ogur version will be released for use with og 6.x-1.1.
Comment #13
somebodysysop commentedPlease download and test dev release.
Comment #14
kobnim commentedHi,
I tested the 6.x-1.x dev version, but the problem is still there. I will try again tomorrow. Thanks for your very quick response!
- Mindy
Comment #15
somebodysysop commentedIf the dev version you installed does not have this line:
then the version you downloaded is not the version I just uploaded. This line was changed to exactly the line you said would work. It apparently had not yet been packaged when you did your download.
The changes are, in fact, here:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/og_user_rol...
Comment #16
kobnim commentedYes, this fixed the problem. Thank you very much!
And thank you for a really great module.
- Mindy
Comment #17
somebodysysop commentedFixed in 6.x-1.x-dev.
Comment #18
somebodysysop commentedCommitted to 6.x-1.4 release.
Comment #19
kobnim commentedthanks!
- Mindy
Comment #21
technivant commentedHi,
This is a very powerful module! I just have one issue: I'm working with a fresh install of OGUR 6.x-1.4 and OG 6.x-1.1. I set the Page content type as a group node and configured my OGUR settings for this type. When I visit node/add/page I do not see any of the OGUR options. Only once I create the node and edit it do I start to see the OGUR options. Is this the intended behavior?
Comment #22
somebodysysop commentedYes, this is the intended behaviour. The options don't appear until the node is saved.