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: Assigned
+Status: Closed
Type: Bug
Package: PEAR
Package Version: SVN
PHP Version: Irrelevant
-Assigned To: saltybeagle
+Assigned To: doconnor
Roadmap Versions:
New Comment:

-Status: Assigned
+Status: Closed
-Assigned To: saltybeagle
+Assigned To: doconnor
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




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

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

-Assigned To:
+Assigned To: saltybeagle


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

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

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedSep 8, '10 at 11:18p
activeSep 8, '10 at 11:18p
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase