You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because COT always picks the lowest unused InstanceID when creating an Item, when given an OVF with non-consecutive InstanceIDs (e.g., 1, 2, 3, 4, 10, 11, 12, 2001, 2002) then cloning existing Items will result in them being out-of-order (e.g., cloning Item 2002 will result in a new Item with InstanceID 5), which can subsequently cause problems because COT iterates over items in InstanceID order (so the newly cloned Item comes before the item it was cloned from, rather than after as COT expects).
Probably COT should always clone to an InstanceID higher than the item being cloned.
The text was updated successfully, but these errors were encountered:
Because COT always picks the lowest unused InstanceID when creating an Item, when given an OVF with non-consecutive InstanceIDs (e.g., 1, 2, 3, 4, 10, 11, 12, 2001, 2002) then cloning existing Items will result in them being out-of-order (e.g., cloning Item 2002 will result in a new Item with InstanceID 5), which can subsequently cause problems because COT iterates over items in InstanceID order (so the newly cloned Item comes before the item it was cloned from, rather than after as COT expects).
Probably COT should always clone to an InstanceID higher than the item being cloned.
The text was updated successfully, but these errors were encountered: