My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 393: multiple LoadKeyPath calls, Duplicate nodes 1.2.2
2 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  May 2014


 
Reported by jackkit...@gmail.com, Jan 18, 2013
What steps will reproduce the problem?
1. If you have multiple loadKeyPaths below one another with different paths
2. When the tree loads and executes the paths then duplicate nodes show
3.

What is the expected output? What do you see instead?
Expected output is to see the tree load and loadKeyPath open the tree and selects the checkboxes.
What i see instead is that duplicate nodes are displaying which i see as a bug. My two checkboxes become checked but there are many duplicate nodes.


What version of the dynatree and jQuery are you using? 1.2.2
On what operating system and browser? Windows 7 and chrome 24.0.1312.52 m
What DOCTYPE declaration are you using?<!doctype html>

Please provide any additional information below.

Here is the code that i am executing. The ajax.php returns an array of paths. The array is split and then a each runs through the split array. For every loop the path is sent to the loadKeyPath. This should select the checkboxes and open the tree for every path sent. I see duplicates. I have noticed that this problem occurs when the loadKeyPath happens too fast. The first one needs to load and then onsuccess , the second needs to load and so forth.

Code: https://gist.github.com/4563360

Aug 22, 2013
#1 fmunt...@gmail.com
same problem here and only happens in Google Chrome while using debug console.
using Dynatree 1.2.4 and Jquery 2.0.3
Aug 23, 2013
Project Member #2 moo...@wwwendt.de
I haven't tried to reproduce, but I know there might be problems with multiple async requests. 
This may be hard to fix with and was one of the reasons I started Fancytree.
Status: Accepted
Labels: Milestone-Release2.0
May 1, 2014
Project Member #3 moo...@wwwendt.de
As of 2014 Dynatree is feature frozen.
Please have a look at Fancytree (sequel of DynaTree 1.x): chances are good that the problem was resolved / the requested featuer is already implemented.
Please open a new issue there otherwise:

https://github.com/mar10/fancytree
Status: WontFix

Powered by Google Project Hosting