Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #10733 Validator cannot handle invalid package2.xml file
Submitted: 2007-04-15 14:14 UTC
From: aidan Assigned: cellog
Status: Closed Package: PEAR (version 1.5.2)
PHP Version: 5.2.1 OS: N/A
Roadmaps: 1.5.3    
Subscription  


 [2007-04-15 14:14 UTC] aidan (Aidan Lister)
Description: ------------ $ pear package Attempting to process the second package file Warning: Invalid argument supplied for foreach() in PEAR/PackageFile/v2/Validator.php on line 1061 Warning: Invalid argument supplied for foreach() in /usr/share/php/PEAR/PackageFile/v2/Validator.php on line 1061 Warning: Invalid argument supplied for foreach() in PEAR/PackageFile/v2/Validator.php on line 1061 Warning: Invalid argument supplied for foreach() in /usr/share/php/PEAR/PackageFile/v2/Validator.php on line 1061 Fatal error: Cannot unset string offsets in /usr/share/php/PEAR/PackageFile/v2/Validator.php on line 1105 Test script: --------------- http://cvs.php.net/viewvc.cgi/pear/PHP_Compat/package2.xml?revision=1.1

Comments

 [2007-04-17 23:04 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. 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.