2.x version of DA now stores default domain in the database and is passed as 0 not -1. This requires executing the following update when upgrading from 1.x to 2.x:

function domain_user_default_update_6200() {
$ret = array();
$ret[] = update_sql("UPDATE {domain_user_default} SET domain_id = 0 WHERE domain_id = -1");
return $ret;
}
CommentFileSizeAuthor
#1 463034-domain_user_default.install.patch736 bytesnonsie

Comments

nonsie’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
StatusFileSize
new736 bytes

Patch attached against dev version

nonsie’s picture

Status: Active » Fixed

Committed

Status: Fixed » Closed (fixed)

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

IckZ’s picture

Status: Closed (fixed) » Active

Hey,
there is still a little Problem with this. If a User set the default domain as "his" default domain it goes as "-1" into the database.. When this happens it will not work correctly :)