Bug #19677 [Bgs]: MDB2-2.5.0b4 breaks roundcubemail

From: Date: Sun, 28 Oct 2012 13:18:49 +0000
Subject: Bug #19677 [Bgs]: MDB2-2.5.0b4 breaks roundcubemail
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-9260@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19677&edit=1 ID: 19677 Updated by: spam2@rhsoft.net Reported By: spam2 at rhsoft dot net Summary: MDB2-2.5.0b4 breaks roundcubemail Status: Bogus Type: Bug Package: MDB2 Operating System: Linux PHP Version: 5.3.18 Assigned To: danielc Roadmap Versions: New Comment: and that is why is is now HARD broken instead having a compatible MDB2 version which is throwing an DEPRECATED message since years? sorry but YOUR understanding of quality and compatibility is far away from mine * declare methods as private if you do not want them accessed * do not define/use static methods at all in code which is typically instantiated * do NOT break with "fatal error" without warnings in previous releases Previous Comments: ------------------------------------------------------------------------ [2012-10-28 13:12:10] danielc > PEAR does incompatible changing interfaces but a bugreport is bogus > and a long tme working application faulty? MDB2 did not change it's _defined_ interface. The isError() method has always been static method of the MDB2 class. Roundcube made a mistake by calling the method on an instantiated MDB2_Driver_mysqli object. ------------------------------------------------------------------------ [2012-10-28 09:12:23] cweiske > aaah - PEAR does incompatible changing interfaces According to our version policy, normal beta versions may not break BC: http://pear.php.net/group/docs/20040226-vn.php ------------------------------------------------------------------------ [2012-10-28 08:43:31] rhsoftware > The version of Roundcube does matter. > The 0.8.2 release was improperly using the isError() method. what exavtly did you not undersatnd in the fact that the pear-update breeaks 0..x too? > There are two $this->db_handle->isError() calls in > ./program/include/rcube_mdb2.php. hmmm > That has been removed in master. aaah - PEAR does incompatible changing interfaces but a bugreport is bogus and a long tme working application faulty? the typical PHP attitude............ > Please open a ticket with Roundcube to get them to > change the calls to MDB2::isError() why do you not do this? becasue YOU can explain them why THEY have to fix YOUR incompaible change ------------------------------------------------------------------------ [2012-10-28 02:54:32] danielc -Status: Feedback +Status: Bogus The version of Roundcube does matter. The 0.8.2 release was improperly using the isError() method. There are two $this->db_handle->isError() calls in ./program/include/rcube_mdb2.php. That has been removed in master. Please open a ticket with Roundcube to get them to change the calls to MDB2::isError(). ------------------------------------------------------------------------ [2012-10-27 22:09:55] rhsoftware version of roundcube does not matter at the begin 0.7.3 and in the hope it may be better with 0.8.2 i upgraded all roundcube setups but i have still to downgrade the pear packages (which are brand new) to get roundcube working ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://pear.php.net/bugs/bug.php?id=19677 -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19677&edit=1

« previous php.pear.bugs (#9260) next »