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

Bug #11638 Link to Bug Tracker on User Note Entry Screen fails
Submitted: 2007-07-18 20:53 UTC
From: ashnazg Assigned: dufuz
Status: Closed Package: pearweb (version 1.16.1)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: 1.17.0    
Subscription  


 [2007-07-18 20:53 UTC] ashnazg (Chuck Burgess)
Description: ------------ On the "Add a Note to package.php.phpdocumentor.intro.php" webpage (http://pear.php.net/notes/add-note-form.php?redirect=/manual/en/package.php.phpdocumentor.intro.php&uri=package.php.phpdocumentor.intro.php), the hyperlink to the bug tracker found in the sentence "We have a great bug tracker for bugs/feature requests at This Location" is apparently incompletely formed, because clicking it takes you to "http://pear.php.net/bugs/report.php?package[]=Documentation", which shows a nice clean error: "ERROR: * Package "" does not exist." but the top of the screen shows two ugly warnings: "Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/local/web/pear.php.net/public_html/bugs/include/functions.inc on line 135 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/web/pear.php.net/public_html/bugs/include/functions.inc:135) in /usr/local/web/pear.php.net/include/pear-format-html.php on line 111" Test script: --------------- Go to PEAR website (pear.php.net). Click on "List Packages" on the left-side "Downloads" menu. Click on "Tools and Utilities" on lower right of screen. Click on "PhpDocumentor" (#7 on the list) Click on "Documentation" link from the top-center menu. Click on "End User Documentation" in upper-center of screen. Click on "add a note" on lower center of screen. Click on "This Location" in center of screen. Expected result: ---------------- Jump to PhpDocumentor's Bug Tracker page at http://pear.php.net/bugs/search.php?cmd=display&package_name[0]=PhpDocumentor Actual result: -------------- Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/local/web/pear.php.net/public_html/bugs/include/functions.inc on line 135 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/web/pear.php.net/public_html/bugs/include/functions.inc:135) in /usr/local/web/pear.php.net/include/pear-format-html.php on line 111 (... later ...) ERROR: * Package "" does not exist.

Comments

 [2007-08-04 19:59 UTC] wiesemann (Mark Wiesemann)
I have attached a patch that fixes this problem (and also makes the two link description a little bit nicer).
 [2007-08-12 00:58 UTC] dufuz (Helgi Þormar)
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.