| Issue 309: | appendAjax race condition | |
| 4 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Set onLazyLoad to use appendAjax. 2. Load several nodes at once programmatically. 3. The AJAX results will be returned in a random order. Often the result will be tree nodes appended to the wrong isLazy node. What is the expected output? What do you see instead? The nodes should be appended to the proper isLazy parent node in the tree, rather than AJAX requests getting mixed. What version of the dynatree and jQuery are you using? dynatree 1.2.0, jQuery 1.7.2 On what operating system and browser? Windows 7, Chrome 18 What DOCTYPE declaration are you using? HTML5 (html) Please provide any additional information below. I ran into this issue while trying to load multiple paths using loadKeyPath (expand lazy nodes to show a search result). The only solution that comes to mind is to manage the AJAX requests such that an identifier is passed in each AJAX request and response to map the response to the proper node.
May 7, 2012
Project Member
#1
moo...@wwwendt.de
Labels:
Milestone-Release1.2.1
Jun 6, 2012
Deferred, so v1.2.1 can be released shortly.
Labels:
-Milestone-Release1.2.1 Milestone-Release1.2.2
Oct 1, 2012
The next major release will support multiple paths for loadKeyPath(). It will also use $.Deferreds
Status:
Accepted
Labels: -Milestone-Release1.2.2 Milestone-Release2.0
Oct 1, 2012
Issue 240 has been merged into this issue.
May 1, 2014
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
|