Closed (fixed)
Project:
Aegir Ubercart Integration
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
24 Mar 2011 at 12:23 UTC
Updated:
1 May 2011 at 02:51 UTC
Please see #962330: refactor and clarify the fields in the client content type in the hosting issue queue.
I need to check out the situation in uc_hosting and make sue this doesn't adversely affect us. Also take advantage of the idea that client titles should be unique to stop using the email as a means to find an associated client.
Finally, I will need to come up with a new strategy to avoid the creation of duplicate clients.
I'm creating this issue to document my struggles with that.
Comments
Comment #1
sfyn commentedhttp://drupal.org/node/962330#comment-4254578
I have summarized anarcat's changes as best I can.
Comment #2
sfyn commentedPerhaps the best way of dealing with this is to do something I have been wanting to do for a while anyway - move to using the hosting_signup module to take care of the client creation stuff that uc_hosting does.
Comment #3
sfyn commentedFor now I have just made some adjustments to the add_client function. I have also changed the purchase workflow so that we no longer try to "guess" the client - either we create a new one or the logged user selects one:
For more details see commits 0c9f972bf through 936b7d962.
Comment #4
sfyn commentedNote that these patches undo some things I did to address #900098: New orders are not applied to the original Aegir client
Comment #5
sfyn commented