Open dkhlystov opened 8 years ago
In my experience, moving is a hard thing to get right with these kind of nested sets. I haven't used this specific implementation, but normally you're better of rebuilding the tree from the first level both nodes (old and new) are children of.
It is unlikely that the code I wrote is used. But this is extension bug.
Data before:
Moving code:
Data after:
On 'Node 1' (id:3) there are wrong 'rgt' value