Bug #17834 [Opn]: Pyrus: PHP Notice: Undefined variable: package
| From: | daniel dot oconnor at gmail dot com | Date: | Tue, 31 Aug 2010 13:55:08 +0000 |
| Subject: | Bug #17834 [Opn]: Pyrus: PHP Notice: Undefined variable: package | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-4722@lists.php.net to get a copy of this message | ||
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.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17834&edit=1