Whenever I use a form on a site with DA I get the drupal message: Primary domain settings updated. Even regular visitors get this message.
A side effect is the variable 'domain_sitename' is destroyed. When I look into the database the value = 'N'.

I think the problem is in function domain_form_alter(). It should check what form is altered and exit if not the correct form must be altered.

Comments

agentrickard’s picture

Status: Active » Closed (duplicate)

There's already a patch for that. #623486: = not == in form_id check

promes’s picture

Status: Closed (duplicate) » Active

Thanks. I did a scan on the message "Primary domain settings updated." and couldn't find any reference to it.
I checked only a couple of lines at the start of the function and didn't see any reference to the patched line.

agentrickard’s picture

Status: Active » Closed (duplicate)

This is a duplicate. The problem is in an IF statement in hook_form_alter(). The above patch fixes the problem.