In #694018: Split alias loading into conditional includes, Adrian noted that the sitealias database settings lookup failed under Aegir due to the fact that the database settings are not available until bootstrap_drupal_configuration.
This patch will fetch the database settings via backend_invoke('sql-conf'), insuring that a full database bootstrap is done before the db settings are accessed.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drush_alias_aegir.diff | 1.83 KB | adrian |
| sitealias-database.patch | 1.43 KB | greg.1.anderson |
Comments
Comment #1
adrian commentedI've had to modify this on my end to not ever use the db url from the settings file, since your new code was not being run at all.
The one weird thing i have is that without the full parameter i am getting :
which i don't think is my issue.
Comment #2
moshe weitzman commentedcommitted #1 with approval from greg.
the 0,1 bug is a known issue. will be fixed separately.