FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=19677&edit=1

ID: 19677
Comment by: spam2@rhsoft.net
Reported By: spam2@rhsoft.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

Search Discussions

  • Fedora at Oct 29, 2012 at 8:30 am
    Edit report at https://pear.php.net/bugs/bug.php?id=19677&edit=1

    ID: 19677
    Comment by: fedora@famillecollet.com
    Reported By: spam2@rhsoft.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:

    Even if I think this sould be solved in MDB2, I also think it worth to
    be reported upstream.
    https://github.com/roundcube/roundcubemail/pull/40


    Previous Comments:
    ------------------------------------------------------------------------

    [2012-10-28 23:48:30] rhsoftware

    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)

    ------------------------------------------------------------------------

    [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.

    ------------------------------------------------------------------------

    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
  • Danielc at Oct 29, 2012 at 3:35 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=19677&edit=1

    ID: 19677
    Updated by: danielc@analysisandsolutions.com
    Reported By: spam2@rhsoft.net
    Summary: Call to undefined function:
    MDB2_Driver_mysql::isError()
    -Status: Analyzed
    +Status: Closed
    Type: Bug
    Package: MDB2
    Operating System: Linux
    Package Version: 2.5.0b4
    PHP Version: 5.3.18
    Assigned To: danielc
    Roadmap Versions:
    New Comment:

    -Status: Analyzed
    +Status: Closed
    Fix committed to SVN. A new release will be created shortly.


    Previous Comments:
    ------------------------------------------------------------------------

    [2012-10-29 08:30:17] remicollet

    Even if I think this sould be solved in MDB2, I also think it worth to
    be reported upstream.
    https://github.com/roundcube/roundcubemail/pull/40

    ------------------------------------------------------------------------

    [2012-10-28 23:48:30] rhsoftware

    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)

    ------------------------------------------------------------------------

    [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

    ------------------------------------------------------------------------

    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
  • Spam2 at Oct 29, 2012 at 7:25 pm
    Edit report at https://pear.php.net/bugs/bug.php?id=19677&edit=1

    ID: 19677
    Updated by: spam2@rhsoft.net
    Reported By: spam2@rhsoft.net
    Summary: Call to undefined function:
    MDB2_Driver_mysql::isError()
    Status: Closed
    Type: Bug
    Package: MDB2
    Operating System: Linux
    Package Version: 2.5.0b4
    PHP Version: 5.3.18
    Assigned To: danielc
    Roadmap Versions:
    New Comment:

    upgrade ok: channel://pear.php.net/MDB2-2.5.0b5
    upgrade ok: channel://pear.php.net/MDB2_Driver_mysql-1.5.0b4

    roundcube is working fine again
    thank you!


    Previous Comments:
    ------------------------------------------------------------------------

    [2012-10-29 15:35:53] danielc

    -Status: Analyzed
    +Status: Closed
    Fix committed to SVN. A new release will be created shortly.

    ------------------------------------------------------------------------

    [2012-10-29 08:30:17] remicollet

    Even if I think this sould be solved in MDB2, I also think it worth to
    be reported upstream.
    https://github.com/roundcube/roundcubemail/pull/40

    ------------------------------------------------------------------------

    [2012-10-28 23:48:30] rhsoftware

    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)

    ------------------------------------------------------------------------

    [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?

    ------------------------------------------------------------------------

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 28, '12 at 11:48p
activeOct 29, '12 at 7:25p
posts4
users3
websitepear.php.net

3 users in discussion

Fedora: 2 posts Danielc: 1 post Spam2: 1 post

People

Translate

site design / logo © 2022 Grokbase