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

Bug #7419 Check inputs in PEAR_PackageFile_v2_rw
Submitted: 2006-04-19 03:01 UTC
From: davey Assigned: cellog
Status: Closed Package: PEAR (version 1.4.9)
PHP Version: 5.1.2 OS: Irrelevant
Roadmaps: (Not assigned)    
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:
Solve the problem : 24 + 44 = ?

 [2006-04-19 03:01 UTC] davey (Davey Shafik)
Description: ------------ When using PEAR_PackageFileManager if you set the 'required' argument in addPackageDepWithChannel() to 'true' (or anything really) instead of 'required' or 'optional' then it causes issues when trying to create the package.xml: The error is thus: XML names may only start with letter or underscore The bug is that PEAR_PackageFile_v2_rw doesn't check the input. It should probably allow required/optional and true/false. - Davey


 [2006-04-25 02:43 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.