Bug #19677 [Com]: Call to undefined function: MDB2_Driver_mysql::isError()
| From: | spam2@rhsoft.net | Date: | Sun, 28 Oct 2012 23:48:31 +0000 |
| Subject: | Bug #19677 [Com]: Call to undefined function: MDB2_Driver_mysql::isError() | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9263@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
Comment by: spam2@rhsoft.net
Reported By: spam2 at rhsoft dot net
Summary: Call to undefined function:
MDB2_Driver_mysql::isError()
Status: Analyzed
Type: Bug
Package: MDB2
Operating System: Linux
Package Version: 2.5.0b4
PHP Version: 5.3.18
Assigned To: danielc
Roadmap Versions:
New Comment:
thank you for removing the "Bogus"
it would be much easier for people to keep calm down if the "bogus"
would be used MUCH more carfeul in the php-world. seeing a pear-update,
test on the staging server with a widely used application like
roundcubemail and even try out a major upgrade of roundcube while with
both you get a whrite page should be enough to prove where the problem
exists without a long discussion (especially if the rpeorter does
upgrades/downgrades in all directions with all involved components to
nail down the problem)
Previous Comments:
------------------------------------------------------------------------
[2012-10-28 20:14:40] danielc
-Summary: MDB2-2.5.0b4 breaks roundcubemail
+Summary: Call to undefined function:
MDB2_Driver_mysql::isError()
-Status: Feedback
+Status: Analyzed
-Package Version:
+Package Version: 2.5.0b4
I figured out this morning what was going on then had to go out.
MDB2_Driver_Common used to extend PEAR. I'm working on a resolution
now.
------------------------------------------------------------------------
[2012-10-28 19:50:39] till
-Status: Bogus
+Status: Feedback
@Daniel @Christian
I agree that if a method was public before, it shouldn't be gone all of
a sudden. Even
if it was used wrong which of course is unfortunate.
I am guessing MDB2 stopped extending PEAR somewhere in between? Hence
the
method is gone?
------------------------------------------------------------------------
[2012-10-28 13:18:49] rhsoftware
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
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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