Bug #399
closed
Editor problem with repeated elements
Added by Dan Higgins almost 23 years ago.
Updated over 22 years ago.
Category:
morpho - general
Description
When elements are repeated (eg the attribute element in eml-attribute) and
subelements are repeated, it turns out that entering a text value for one
element causes all the duplicate elements to have the same value!
It turns out that an attempt to speed up operation resulted in a single node to
be assigned to multiple elments. In other words, the node was node cloned
properly (actually the UserObject assigned to a treeNode was not cloned so that
multiple treeNodes had the same userObject.
The fix was to add code to clone the userObject without having to make a deep
clone of the entire treeNode and all its related nodes.
Original Bugzilla ID was 399
Also available in: Atom
PDF