Closed (fixed)
Project:
Role Weights
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
29 Jul 2009 at 15:34 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pfaocleThanks for the report - can you try this piece of PHP code in a page on your site to see if it produces the same problem?
Comment #2
pfaocleMarked #533186: auto assign role and role weights as duplicate issue.
Comment #3
Michsk commentedi am not using the module anymore because of this issue, found a workaround for the same thing as i wanted without role weights.
Anyone still using the module who could try the php code?
Comment #4
pfaocleFrom #578692: array exists in role_weight error, pedrofaria provided this:
Patch looks good after a quick look, just might need to see if we can skip the call to
user_load()when$user->rolesis already populated.Comment #5
sdsheridanThis fixed issues with path_auto as well. Using a role-based token to generate user path aliases was causing problems. Thanks, leafish_paul! I applied the fix to the 6.x-1.5 version.
Shawn
Comment #6
wxman commentedI'm using this along with the meta tags module. After updating to the 6.x-1.5 version as of today, I'm still showing [lightest-role] in all the places I set it. Does the new patch not work with the meta tags module?
Comment #7
chinita7 commentedI tried patch from #4 and it's working for me.
Now I can use role name for alias. Thanks !
Comment #8
pfaocleComment #9
pfaocleFixed in 6.x-1.x-dev - needs porting to 7.x-1.x - thanks all.
Comment #10
pfaocleTagging.
Comment #11
pfaocleNew statuses?! Shows how long it's been :/
Comment #12
pfaocleAlso added to 7.x-1.x-dev.