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

Bug #13485 pear package-validate brings up ASCII issues
Submitted: 2008-03-24 21:56 UTC
From: till Assigned: dufuz
Status: Closed Package: PEAR (version 1.7.1)
PHP Version: 5.2.5 OS: FreeBSD
Roadmaps: 1.7.2    
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 : 13 + 39 = ?

 
 [2008-03-24 21:56 UTC] till (Till Klampaeckel)
Description: ------------ I don't know how to trace this error. I made sure the files are unix, but who knows where this is from exactly. Test script: --------------- pear package-validate As with the other bug I reported, let me know if you need a link to SVN to do a checkout and trace this. Expected result: ---------------- No warnings. Actual result: -------------- Analyzing DB/DataObject2/Driver/Common.php Analyzing DB/DataObject2/Driver/Exception.php Analyzing DB/DataObject2/Driver/PDO.php Analyzing DB/DataObject2/Driver/PDO_MYSQL.php Analyzing DB/DataObject2/Driver/mysql.php PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/local/share/pear/PEAR/PackageFile/v2/Validator.php on line 1870 PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/local/share/pear/PEAR/PackageFile/v2/Validator.php on line 1870 PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/local/share/pear/PEAR/PackageFile/v2/Validator.php on line 1870 PHP Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /usr/local/share/pear/PEAR/PackageFile/v2/Validator.php on line 1870 Analyzing DB/DataObject2/Cast.php Analyzing DB/DataObject2/Error.php Analyzing DB/DataObject2/Exception.php Analyzing DB/DataObject2/Generator.php Analyzing DB/DataObject2/createTables.php Analyzing DB/DataObject2.php Validation: 0 error(s), 0 warning(s)

Comments

 [2008-03-24 22:04 UTC] till (Till Klampaeckel)
 [2008-03-28 18:48 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Line 154 of the mysql driver actually contains a PHP error, using : when . should be used Not sure if I want to silence the token function since it caught this problem :)
 [2008-03-28 19:48 UTC] dufuz (Helgi Þormar Þorbjörnsson)
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. Fixed however pear package-validate isn't showing any warnings even if pear package is ... I'll open up a new ticket for that. I've made it so it doesn't show ASCII errors anymore and just tells you the file might have a parse error