Thank you for reporting this bug. We will make it our priority to review this report.
node.remove() cascades down which is odd and not useful
node.remove() cascades down which is odd and not useful
Hi
I have a treestore with 2 levels. There are no explicit associations (eg hasmany or reference)
If node is a branch then
node.remove()
is first deleting node and then deleting node's children. At least based on the REST calls that take place in firebug
This is odd because according to the documentation, only node should be deleted. (which of course is only logical if there are no children)
It is also not useful because the DB barfs if the parent is deleted before its children. The other way would be better
So is this a bug or is my code really screwed up somewhere
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
node.remove() cascades down which is odd and not useful
Aucun commentaire:
Enregistrer un commentaire