[sync] Add dependency for Horde_ActiveSync-2.4.0beta1

Arjen de Korte arjen+horde at de-korte.org
Sun May 5 19:37:18 UTC 2013


Citeren Michael J Rubinsky <mrubinsk at horde.org>:

> Quoting Arjen de Korte <arjen+horde at de-korte.org>:
>
>> I looks like Horde_ActiveSync-2.4.0beta1 requires the (to be  
>> released) Horde_Core-2.5.0 because of changes in the interface. It  
>> might be helpful to add this dependency.
>
> It ActiveSync 2.4.0 shouldn't require Core 2.5.0. The reverse,  
> however, might be true. What interface change did you find that  
> would require Core 2.5.0? If this is, indeed, true, it is a bug and  
> must be corrected before final release.

After upgrading to Horde_ActiveSync-2.4.0beta1, I can't connect with  
ActiveSync and get the following messages in the server logs (for each  
Ping/Sync):

[Sat May 04 21:12:34 2013] [error] [client 192.168.1.126] PHP Fatal  
error:  Declaration of  
Horde_Core_ActiveSync_Driver::getCurrentPolicy() must be compatible  
with that of Horde_ActiveSync_Driver_Base::getCurrentPolicy() in  
/usr/share/php5/PEAR/Horde/Core/ActiveSync/Driver.php on line 12

Installed packages, channel pear.horde.org:
===========================================
Package                    Version     State
Horde_ActiveSync           2.4.0beta1  beta
Horde_Core                 2.4.3       stable

I'm not much of a PHP programmer, but an egrep on 'function  
getCurrentPolicy' reveals what might be wrong:

# egrep -R "function getCurrentPolicy"
Core/ActiveSync/Driver.php:    public function getCurrentPolicy()
ActiveSync/Driver/Base.php:    abstract public function  
getCurrentPolicy($device = false);

This is different from the latest stable Horde_ActiveSync-2.3.6 (which  
worked) where the second line does not contain a parameter. Adding  
this parameter to the first line as well makes the PHP error go away,  
so I suspect this may be an issue.
-- 
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 308 bytes
Desc: PGP digitale ondertekening
URL: <http://lists.horde.org/archives/sync/attachments/20130505/a1df1512/attachment.bin>


More information about the sync mailing list