Dimension Editor: pasting element as child of consolidation. Editor remembers last selection not current.
Describe the bug
In the dimension editor when either pasting copied members or entering new elements as child of a consolidation Arc remembers the last consolidation pasted into rather then taking the current selection. This is particularly obvious when switching between tabs where different dimensions are being edited at the same time as Arc will throw an error due to the last consol member being pasted into not belonging to the collection of the current dimension.
To Reproduce
Steps to reproduce the behavior:
- Open 2 test dimensions in dimension editor side by side
- In one of the dimensions select a consolidation, then click the "+" add member button and enter or paste new element names with position selected as "Child of Element (End)"
- Switch to the other dimension editor tab. Click add member button and repeat with elements for the other dimension.
- Results in error " cannot be found in collection of type Element"
Expected behavior
This seems to be caused by interactions between Arc tabs wit current selection property in one dimension editor tab being applied to all open dimension editor tabs. However, although some components such as clipboard need to be common the current element selection should not be shared. When tab selection changes the selected member property in the background should be updated to the selection of the tab which has focus.
Logs and Errors
No console or network errors when observing this behaviour.
Screenshots
See above.
Version Information (please complete the following information):
- TM1 Version: 11.6
- Operating System: Windows 10
- Browser Chrome
- Arc Version 1.8.0