We have an application which allows drag and drop between
trees and lists.
Here are the steps I follow to refresh on drag and drop:
1. Dispatch a custom event which calls server.
2. On successful response from server I change the model
data provider for the tree.
3. Then, set a flag which triggers 'invalidateDisplayList'
and 'invalidateList' for tree (and other listeners).
4. The tree refreshes fine. But as soon as I drag and drop
trees again, I get this error in Tree.as:
TypeError: Error #1010: A term is undefined and has no
The behaviour is weird, sometimes the browser hangs and stops
I am calling 'contentTree.showDropFeedback(event)' in my
event listener which is triggering error.
My tree data provider is a custom class which has 'children'
Any help on how to resolve this issue would be highly