Closed (fixed)
Project:
Domain
Version:
6.x-2.0-rc6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2009 at 13:18 UTC
Updated:
21 Apr 2009 at 15:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardFrom which form are you assigning the role?
Comment #2
agentrickardComment #3
jolos commentedSorry for the not so fast reaction.
I'm doing this from admin/user/user.
Some more clarification on what I'm doing:
(1) I disable my custom modules
(2) I select a user
(3) I ensure this user is assigned to a domain.
(4) in admin/user/user I assign a role to the user
(5) the role gets assigned
(6) I check the domains of the user, and I see that the only domain assigned to the user is the primary domain.
Comment #4
agentrickardAnd you're entering that formed from the primary domain?
We probably are not accounting for how the batch form interacts with hook_user.
Comment #5
jolos commentedI was doing this from the primary domain. When I assign the role on a secondary domain the problem doesn't occur.
Comment #6
agentrickardNice catch. We should have seen this earlier.
Committed to HEAD.
Comment #7
agentrickardHere is a D5 patch, which also catches a similar error in Domain User.
Comment #8
agentrickardRevised version of the D6 patch.