Closed (fixed)
Project:
Domain
Version:
5.x-1.10
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2009 at 18:17 UTC
Updated:
27 Jun 2009 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardDid you install this on an existing site? It looks like your users are not assigned to any domains.
Either assign your users to domains or edit the file:
5.x.1.9 is no longer supported, but if you users are not assigned to domains, you will have this problem in 5.x.10 as well.
Considering that you are trying to show users their domain options, it is tempting to call this configuration error rather than bug.
Comment #2
jmunning commentedHi agentrickard,
Thanks for the help. I did install on an existing site. My understanding was that existing users would be assigned to the primary domain by default but now I can't find that info in the README so maybe I misunderstood. Is there an easy way to assign all existing users (I have over 2000) to the primary domain?
I didn't realize 5.x.10 was out, I will update.
Thanks.
Comment #3
agentrickardThere is not an easy way in the D5 version; this is just serialized data stored in the {users} table. Better to add the error-handling code as a patch.
Even better to add a domain_enable() routine to update the {users} table.
Comment #4
agentrickardProper patch. Committed to 5.x branch.
Comment #5
agentrickardI thought about this, and this is probably the proper patch. However, new users are auto-assigned to the domain from which they registered. So we probably need a form to assign users to domains.
Comment #6
agentrickardSee #490846: Allow batch assignment of users to domains