Here is a patch so that, when creating a new site (hook_form), the default client is that of the user, not the site-wide default client.

CommentFileSizeAuthor
aegir-default-client.diff802 bytesbgm

Comments

anarcat’s picture

Assigned: Unassigned » anarcat

I agree with this: without this patch, this code is actually never executed:

      if ($node->client == $client_id || !$current_client_id) {
        $current_client_id = $client_id;
      }

Which is the issue here...

anarcat’s picture

Status: Patch (to be ported) » Fixed

Committed in rae275ccd2b56.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit f3f1cf3 on 599758_edit_main_site, 640952_client_preview, dev-dns, dev-features, dev-headless_install, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newsiteform, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-relationships, dev-restore, dev-server_nodetype, dev-services, dev-site_rename, dev-ssl, dev_dns, prod-koumbit, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by anarcat:
    #646970 by bgm: fix default client display in site form
    
    

  • Commit f3f1cf3 on 599758_edit_main_site, 640952_client_preview, dev-dns, dev-features, dev-headless_install, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newsiteform, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-relationships, dev-restore, dev-server_nodetype, dev-services, dev-site_rename, dev-ssl, dev_dns, prod-koumbit, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by anarcat:
    #646970 by bgm: fix default client display in site form