I have a simple tree that I am populating from JSON data, using <node>.appendChild().
When I expand the one of my nodes for the first time, even though the node only has one child, it renders the child twice. When I click the first child, the duplicate disappears and I get a javascript error:
Uncaught TypeError: Cannot read property 'internalId' of undefined.
I am also attaching the console dump of the tree node objects.
Any idea what I could be doing to cause the duplicate node to appear?