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  


 [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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!