Summary | Ansel migration |
Queue | Ansel |
Queue Version | 3.0.8 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | lameventanas (at) gmail (dot) com |
Created | 10/14/2018 (2461 days ago) |
Due | |
Updated | 10/14/2018 (2461 days ago) |
Assigned | |
Resolved | 10/14/2018 (2461 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Michael Rubinsky
State ⇒ Resolved
Priority ⇒ 1. Low
This would only be an issue if converting an old ansel 1.x database
after installing a fresh Ansel 3.x install.
commit 14d9c4ae158e0a3be94f6185cfaa76109ac96af4
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sun, 14 Oct 2018 11:17:45 -0400
[mjr] Fix fatal error in database migration (
Bug #14865).M docs/CHANGES
M package.xml
https://github.com/horde/ansel/commit/14d9c4ae158e0a3be94f6185cfaa76109ac96af4
commit 557c2d13838a07c218fbbfcac549d2d2a96422c1
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sun, 14 Oct 2018 11:17:45 -0400
[mjr] Fix fatal error in database migration (
Bug #14865).M docs/changelog.yml
https://github.com/horde/ansel/commit/557c2d13838a07c218fbbfcac549d2d2a96422c1
commit 9a0e0e33211305e47ac573e7e9906d630d99a542
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sun, 14 Oct 2018 11:18:42 -0400
[mjr] Fix fatal error in database migration (
Bug #14865).M doc/changelog.yml
https://github.com/horde/ansel/commit/9a0e0e33211305e47ac573e7e9906d630d99a542
commit 27d7b6d960861d069cea415b4347e5b2dbf88749
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sun, 14 Oct 2018 11:18:27 -0400
Pass empty string during migration.
Bug: 14865M migration/10_ansel_upgrade_computestylehashes.php
https://github.com/horde/ansel/commit/27d7b6d960861d069cea415b4347e5b2dbf88749
commit 1658affd985ed0f069913d8493944af7141cde75
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sun, 14 Oct 2018 11:12:49 -0400
Pass empty string during migration.
Bug: 14865M migration/10_ansel_upgrade_computestylehashes.php
https://github.com/horde/ansel/commit/1658affd985ed0f069913d8493944af7141cde75
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Ansel migration
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
via pear recently.
While upgrading horde and ansel with the horde-db-migrate script, I
get this error:
[horde] ArgumentCountError: Too few arguments to function
Ansel_Style::getHash(), 0 passed in
/var/www/horde/ansel/migration/10_ansel_upgrade_computestylehashes.php
on line 50 and exactly 1 expected in
/var/www/horde/ansel/lib/Style.php:69
Stack trace:
#0
/var/www/horde/ansel/migration/10_ansel_upgrade_computestylehashes.php(50):
Ansel_Style->getHash()
#1/var/www/horde/ansel/migration/10_ansel_upgrade_computestylehashes.php(23):
AnselUpgradeComputestylehashes->_ensureHashes(Array)
#2/var/www/pear/php/Horde/Db/Migration/Base.php(121):AnselUpgradeComputestylehashes->up()
#3/var/www/pear/php/Horde/Db/Migration/Migrator.php(182):Horde_Db_Migration_Base->migrate('up')
#4/var/www/pear/php/Horde/Db/Migration/Migrator.php(102):Horde_Db_Migration_Migrator->_doMigrate()
#5/var/www/horde/admin/config/index.php(133):Horde_Db_Migration_Migrator->up()
#6{main} [pid 16174 on line 74 of "/var/www/pear/php/Horde/ErrorHandler.php"]