I received the following errors when upgrading from 6.x-2.3 to the latest dev version of Commons from Drupal.org.
warning: array_merge() [function.array-merge]: Argument #2 is not an array in .../commons-6.x-2.3/update.php on line 173.
warning: Invalid argument supplied for foreach() in .../commons-6.x-2.3/update.php on line 337.
ALTER TABLE {password_policy} ADD UNIQUE KEY name (name)
Failed:
Update #6004
ALTER TABLE {password_policy_role} ADD `name` VARCHAR(64) NOT NULL DEFAULT ''
Failed:
Update #6005
update {password_policy_role} pr, {password_policy} pp set pr.name = pp.name where pr.pid = pp.pid
Update #6006
ALTER TABLE {password_policy_role} ADD UNIQUE KEY name (rid, name)
Failed:
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1348434-commons-update-errors.patch | 1016 bytes | ezra-g |
Comments
Comment #1
ezra-g commentedSeems to be caused by a missing return from a Commons_core.install hook_update_N() implementation and the referenced patch to password_policy.
Comment #2
ezra-g commentedThis is committed. http://drupalcode.org/project/commons.git/commitdiff/e99d25f?hp=ac00ae8f...