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

ID: 17834
Updated by: daniel.oconnor@gmail.com
Reported By: daniel dot oconnor at gmail dot com
Summary: Pyrus: PHP Notice: Undefined variable: package
Status: Open
Type: Bug
Package: PEAR
Package Version: SVN
PHP Version: Irrelevant
Roadmap Versions:
New Comment:

Attached patch rethrows original exception if it does not appear the
code can recover from it.


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

[2010-08-31 13:54:10] doconnor

Added #patch bug:17834;patch:Commands.php;revision:1283262850;.

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

[2010-08-31 13:53:29] doconnor

Description:
------------
PHP Notice: Undefined variable: package in
/home/clockwerx/.pear/php/PEAR2/Pyrus/Developer/PackageFile/Commands.php
on line 161



Test script:
---------------
Build a package with a package 1.0 and no package 2.0; like
XML_svg2image:

http://test.pear.php.net:8080/cruisecontrol/buildresults/XML_svg2image

Expected result:
----------------
Meaningful error

Actual result:
--------------
The exception is caught, and swallowed.

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

Search Discussions

  • Daniel Oconnor at Aug 31, 2010 at 1:55 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17834&edit=1

    ID: 17834
    Updated by: daniel.oconnor@gmail.com
    Reported By: daniel dot oconnor at gmail dot com
    Summary: Pyrus: PHP Notice: Undefined variable: package
    Status: Open
    Type: Bug
    Package: PEAR
    Package Version: SVN
    PHP Version: Irrelevant
    -Assigned To:
    +Assigned To: saltybeagle
    Roadmap Versions:
    New Comment:

    -Assigned To:
    +Assigned To: saltybeagle



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

    [2010-08-31 13:55:08] doconnor

    Attached patch rethrows original exception if it does not appear the
    code can recover from it.

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

    [2010-08-31 13:54:10] doconnor

    Added #patch bug:17834;patch:Commands.php;revision:1283262850;.

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

    [2010-08-31 13:53:29] doconnor

    Description:
    ------------
    PHP Notice: Undefined variable: package in
    /home/clockwerx/.pear/php/PEAR2/Pyrus/Developer/PackageFile/Commands.php
    on line 161



    Test script:
    ---------------
    Build a package with a package 1.0 and no package 2.0; like
    XML_svg2image:

    http://test.pear.php.net:8080/cruisecontrol/buildresults/XML_svg2image

    Expected result:
    ----------------
    Meaningful error

    Actual result:
    --------------
    The exception is caught, and swallowed.

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 31, '10 at 1:55p
activeAug 31, '10 at 1:55p
posts2
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 2 posts

People

Translate

site design / logo © 2022 Grokbase