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

Bug #364 Client side persistence not working
Submitted: 2003-12-05 22:44 UTC
From: marc at binaryclub dot com Assigned: richard
Status: No Feedback Package: HTML_TreeMenu
PHP Version: 4.3.4 OS: Windows 2000
Roadmaps: (Not assigned)    
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 : 25 + 26 = ?

 
 [2003-12-05 22:44 UTC] marc at binaryclub dot com
Description: ------------ After upgrading from 1.1.5 to 1.17, the client side persistence feature of the HTML_TreeMenu_DHTML simply stopped working. Also, I noticed that the HTML_TreeMenu_DHTML::$usePersistence variable is listed as $userPeristence in variable declaration list of the class (sorry to nit-pick) Reproduce code: --------------- /** * This is the function that was returning a TreeMenu w/ * working client side persistance */ function &getTreeMenuDhtml() { $menu = new HTML_TreeMenu(); /* nodes are added here */ $dhtmlMenu = &new HTML_TreeMenu_DHTML( $menu, array( 'images' => $this->_imageDir, 'defaultClass' => $this->_defaultClass) ); return $dhtmlMenu; } Expected result: ---------------- I expect client side persistence to work (since it's supposed to be on by default). Actual result: -------------- Client side persistence doesn't work - I'm not sure if the problem is PHP or Javascript (more likely). Moving back to 1.1.5 fixed the problem.

Comments

 [2004-08-05 20:45 UTC] asnagy at webitecture dot org
Has this issue been fixed? It does not seem to be working for me with version 1.1.9.
 [2005-03-02 01:45 UTC] richard
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PEAR.