PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_TreeMenu » Bug #364

Client side persistence not working

Details

Submitted2003-12-05 22:44 UTC
Frommarc at binaryclub dot com
Assignedrichard
StatusNo Feedback
PackageHTML_TreeMenu
PHP Version4.3.4
OSWindows 2000
Roadmaps(Not assigned)

Comments

[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.

[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.