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

Bug #2122 No tree menu for file identifier begining with a number
Submitted: 2004-08-14 14:12 UTC
From: farell Assigned: cellog
Status: Closed Package: PhpDocumentor
PHP Version: Irrelevant OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2004-08-14 14:12 UTC] farell
Description: ------------ On writing the definitive guide for html_progress i've noticed that the generation does not failed but on execution i don't have the DOM dhtml tree menu (model earthli). Effectively, if your .pkg or .cls files identifier begin by a number, the javascript raise an error. Variable do not begin by a numer. My solution was to rename my files: "1-introduction.pkg" was renamed to "part1-introduction.pkg" Reproduce code: --------------- var 1_introductionpkgnode = new WebFXTreeItem('Introduction','HTML_Progress/tutorial_1-introduction.pkg.html', parent_node, 'media/images/tutorial.png', 'media/images/tutorial.png'); I use phpDocumentor 1.3.0RC3 Expected result: ---------------- See the tree menu on left side of EarthLi model. Actual result: -------------- No DHTML tree menu generated.

Comments

 [2006-04-27 03:50 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.