Hierarchy editor doesn't copy element type
Describe the bug
In the hierarchy editor copy/paste between hierarchies of the same dimension doesn't work for consolidated elements. The element names are copied to the clipboard but the element type is not. When the user tries to paste into another hierarchy Arc attempts to insert consolidates elements as leaves and an error is returned "LeafElementNameConflict".
To Reproduce
Steps to reproduce the behavior:
- Make sure dimension contains multiple hierarchies
- In one hierarchy create a new C element and add some children
- Multi-select the new consolidation and children and copy
- Change the hierarchy and attempt to paste the colsolidation with its children
- Paste fails with LeafElementNameConflict returned
Expected behavior
When multiple elements are selected the element type and consolidation weighting must also be copied. When pasting to another hierarchy the correct element type should be used.
Desktop (please complete the following information):
- TM1 Version: 11.6
- Browser: Chrome
- Arc Version: 1.7.0beta