Project

General

Profile

Bug #399

Editor problem with repeated elements

Added by Dan Higgins over 19 years ago. Updated over 19 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
01/14/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
399

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!

History

#1 Updated by Dan Higgins over 19 years ago

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.

#2 Updated by Redmine Admin over 8 years ago

Original Bugzilla ID was 399

Also available in: Atom PDF