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

Bug #10311 use clearContents to delete bundledPackages
Submitted: 2007-03-09 12:36 UTC
From: berdir Assigned: cellog
Status: Closed Package: PEAR (version 1.6.0)
PHP Version: 5.1.6 OS: Linux
Roadmaps: 1.5.3    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 32 - 21 = ?

 
 [2007-03-09 12:36 UTC] berdir (Sascha Grossenbacher)
Description: ------------ At the moment, clearContents does only somesting if packageType is not bundle. So you have to call "$pkg->_packageInfo['contents']['bundledpackage'] = array();" manually to delete the old bundled packages. Would be great if clearContents could be extended to do this automatically.

Comments

 [2007-04-04 03:27 UTC] cellog (Greg Beaver)
bug is actually in PEAR_PackageFile_v2_rw->clearContents()
 [2007-04-04 03:28 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.