Arc - MDX Lab - MDX text does not update when created with snippet
Version Information (please complete the following information):
- Operating System: Windows 11
- TM1 Version: 11.0.99.8-0
- Browser: Brave Version 1.39.111
- Arc clients: Web
- Arc Version: 3.4.0
- Excel Version: 2201 Build 16.0.14827.20198 64-bit
Describe the bug
When using snippets to edit MDX, the text shown in the editor is not updated in the angular model until the user manually edits it.
To Reproduce
Steps to reproduce the behaviour:
- Go to MDX Lab
- Select the @Dimension All quick snippet
(note also the missing translation for the tooltip) - Enter a valid dimension name
- Execute
- Select all text in the editor
- Select the @Cube quick snippet
- Without doing anything else, click Execute
- Note that the MDX being run is the original one based on the @Subset All quick snippet, not the @Cube quick snippet
- Position the cursor at the end of the MDX text
- Type a space and remove it
- Execute
- Note that the MDX being run is now correct
Expected behaviour
The correct MDX should run without the user having to type anything
Logs and Errors
No related errors in the developer console:
Note also the console.log output of the "EditSession" variable. This should be removed.
Screenshots