[horde] Incompatbly in Horde_ActiveSync-2.16.11 for H5.1 (was Re: How to upgrade to webmail-5.1.5 with PEAR)
Steffen
skhorde at smail.inf.fh-bonn-rhein-sieg.de
Fri Aug 1 09:29:38 UTC 2014
On Thu, 31 Jul 2014, Michael J Rubinsky wrote:
> From: Michael M Slusarz <slusarz at horde.org>
>> Any version of a Horde library should work within a major version of
>> Horde.
> fwiw, there is nothing in the most recent ActiveSync library that is not
> compatible with H 5.1.
>
> Upgrading Core should also work, defaulting to the SQL state driver if the
> new config is not present. If it doesn't, I will look at this and fix when
> I'm back at my computer.
thanks, both of you for pointing that out. I did believed, H5.2 is another
step and may become incompatible with former library API.
For me, file /usr/share/php/Horde/Core/Factory/ActiveSyncState.php line 16
caused errors:
if (empty($conf['activesync']['enabled'])) {
throw new Horde_Exception('ActiveSync is disabled.');
}
//line 16 $driver = $conf['activesync']['storage'];
$driver = empty($conf['activesync']['storage'])
? 'sql'
: $conf['activesync']['storage'];
switch (Horde_String::lower($driver)) {
case 'nosql':
I've replaved line 16 with the assignment in the next line, in order to
fall back to sql. That seems to fix it.
===============
I upgraded with:
pear upgrade -a horde/gollem-3.0.2 \
horde/imp-6.1.8 \
horde/ingo-3.1.5 \
horde/kronolith-4.1.6 \
horde/mnemo-4.1.3 \
horde/nag-4.1.5 \
horde/trean-1.1.1 \
horde/turba-4.1.5 \
horde/horde-5.1.7 \
horde/webmail-5.1.5
horde-db-migrate
upgrade ok: channel://pear.horde.org/Horde_Date-2.0.11
upgrade ok: channel://pear.horde.org/Horde_ListHeaders-1.1.5
upgrade ok: channel://pear.horde.org/Horde_Mime-2.4.3
upgrade ok: channel://pear.horde.org/Horde_Test-2.4.2
upgrade ok: channel://pear.horde.org/Horde_Compress_Fast-1.0.3
upgrade ok: channel://pear.horde.org/Horde_CssMinify-1.0.1
upgrade ok: channel://pear.horde.org/Horde_JavascriptMinify-1.1.0
upgrade ok: channel://pear.horde.org/Horde_Secret-2.0.3
upgrade ok: channel://pear.horde.org/Horde_Socket_Client-1.1.2
[cut compilation]
upgrade ok: channel://pear.horde.org/horde_lz4-1.0.6
upgrade ok: channel://pear.php.net/XML_Util-1.2.3
upgrade ok: channel://pear.horde.org/Horde_Crypt-2.5.0
upgrade ok: channel://pear.horde.org/Horde_Imap_Client-2.23.2
upgrade ok: channel://pear.horde.org/Horde_Data-2.1.0
upgrade ok: channel://pear.horde.org/Horde_Service_Weather-2.1.3
upgrade ok: channel://pear.horde.org/Horde_SyncMl-2.0.4
upgrade ok: channel://pear.horde.org/Horde_Pack-1.0.2
upgrade ok: channel://pear.php.net/PEAR-1.9.5
upgrade ok: channel://pear.horde.org/Horde_JavascriptMinify_Jsmin-1.0.1
upgrade ok: channel://pear.horde.org/Horde_Mapi-1.0.3
upgrade ok: channel://pear.horde.org/Horde_Core-2.12.6
upgrade ok: channel://pear.horde.org/Horde_ActiveSync-2.16.11
upgrade ok: channel://pear.horde.org/horde-5.1.7
upgrade ok: channel://pear.horde.org/imp-6.1.8
upgrade ok: channel://pear.horde.org/ingo-3.1.5
upgrade ok: channel://pear.horde.org/kronolith-4.1.6
upgrade ok: channel://pear.horde.org/nag-4.1.5
upgrade ok: channel://pear.horde.org/trean-1.1.1
upgrade ok: channel://pear.horde.org/turba-4.1.5
upgrade ok: channel://pear.horde.org/mnemo-4.2.0
upgrade ok: channel://pear.horde.org/webmail-5.1.5
--
Steffen
More information about the horde
mailing list