Re: Add dependency for Horde_ActiveSync-2.4.0beta1

Arjen de Korte <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <[email protected]>
Citeren Michael J Rubinsky <[email protected]>:

> Quoting Arjen de Korte <[email protected]>:
>
>> 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.

-- 
sync mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
signature.asc (application/pgp-signature, 308 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQCVAgUAUYa07kB3wgCu87oRAQLbJAP9E8hxhsQjLVGEnJlVK39eJbp5pc2CSsxQ
nExEIf4NrEGn/CSmODo8qzok46e+zmRe6OM8SZaWtuc38h1nj2jx5qYR3g411gd2
rpoVKo2bcJJ202hVKbPRS4bb+1cj0188I7dNmEL824p8hFavqoofieGrhU+yAjQX
SODJsVA49Mc=
=7urk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.