Sochettra / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

"Uncaught Error: NOT_FOUND_ERR: DOM Exception 8" in jquery.dynatree.js line 1800 #270

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a tree including two folder nodes A,B,C.
2. Add four elements e1,e2,e3,e4 to folder A (using A.addChild()).
3. Move all four elements from folder A to folder B using e1.move(B, 'child').
4. Add three elements e5,e6,e7 to folder A (using A.addChild()).
5. Attempt to move e5 to folder C (using e5.move(B, 'child').

This problem persists for other counts of folders/elements, numbers are mostly 
for illustration.

What is the expected output? What do you see instead?

The element e5 should be moved to folder B. Instead I see this error in Chrome 
console: "Uncaught Error: NOT_FOUND_ERR: DOM Exception 8" in jquery.dynatree.js 
line 1800 where 1800 reads 

>> this.parent.ul.removeChild(this.li);

What version of the dynatree and jQuery are you using? 1.20
On what operating system and browser? Win7, Chrome 18.0.1dev
What DOCTYPE declaration are you using? <!doctype html>

Please provide any additional information below.

In my attempts to patch this problem, all I could find is that 
>> tnFirst.span
when probed in line 1691 (last line of addChild function)
>> return tnFirst;

is set as a Span element for e1,e2,e3,e4 and null for e5,e6,e7.

Original issue reported on code.google.com by jonas.ne...@gmail.com on 12 Jan 2012 at 4:30

GoogleCodeExporter commented 8 years ago
could you attach your test code please?

Original comment by moo...@wwwendt.de on 12 Jan 2012 at 7:22

GoogleCodeExporter commented 8 years ago

Original comment by moo...@wwwendt.de on 14 Jan 2012 at 9:19

GoogleCodeExporter commented 8 years ago
Deferred, so v1.2.1 can be released shortly.

Original comment by moo...@wwwendt.de on 6 Jun 2012 at 7:47

GoogleCodeExporter commented 8 years ago

Original comment by moo...@wwwendt.de on 6 Oct 2012 at 9:31

GoogleCodeExporter commented 8 years ago

Original comment by moo...@wwwendt.de on 8 Sep 2013 at 7:14

GoogleCodeExporter commented 8 years ago

Original comment by moo...@wwwendt.de on 8 Sep 2013 at 7:28