I have an installation profile which sets up some demonstration content on a collection of domain access sites. During the installation I'm getting hundreds of watchdog notices with the following messages...
"Notice: Undefined index: domain_id in domain_node_grants() (line 1980 of /var/www/mer003/site/sites/all/modules/contrib/domain/domain.module)."
"Notice: Undefined index: domain_id in domain_get_node_defaults() (line 4177 of /var/www/mer003/site/sites/all/modules/contrib/domain/domain.module)."
I'm running this installation profile through "drush si" so it stands to reason that domain wouldn't know what the current domain is, but there should probably be a check that index domain_id is set before using it.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2170915-bad-index.patch | 526 bytes | agentrickard |
Comments
Comment #1
agentrickardWhat happens if you pass a uri parameter with drush si? That should set the default domain and eliminate this error.
Comment #2
agentrickardComment #3
agentrickardSimple patch. Waiting for test results.
Comment #4
agentrickardCommitted.