Closed (fixed)
Project:
Role Reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2011 at 16:10 UTC
Updated:
31 May 2013 at 13:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
johnvThis works fine..
Comment #2
jantimon commentedSame here - thanks for the patch.
Comment #3
mrharolda commentedHere's a simplified version of Adrian's patch (also rolled on the current git version of rr). Iterating $user_roles is not needed if the result is just a copy of it.
Comment #4
johnvpatch #3 is indeed shorter, and works flawlessly.
Comment #5
mrharolda commentedAny chance of commiting & releasing this? We can't store role ids in our features because they can be different on installations, depending on the order in which they are created.
This patch allows us to use a role reference field without settings any role ids.
Comment #6
deekayen commentedCommitted to 7.x-1.x at ad2dcb8ae5c26127d4bcfcd192592aa7df1db33e, though the patch seemed to be created against master.