Hello everybody!
I have noticed a strange behavior of the old rule editor: if I try to use object names with dashes (–, code 150), it works fine for the first time. But if I reopen it, the rule editor replaces them with hyphens (-, code 45). When I try to change something (eg add a comment) and save, it shows an "element not found" error:
It looks like the version or OS does not matter - tested this on 3 different environments.
Can anybody confirm the same behavior? Does anybody have a solution for this?
Old Architect rule editor replaces dashes with hyphens
-
- Regular Participant
- Posts: 359
- Joined: Sat Jun 08, 2019 9:55 am
- OLAP Product: Planning Analytics
- Version: Planning Analytics 2.0
- Excel Version: Excel 2016
Re: Old Architect rule editor replaces dashes with hyphens
Hi,
I presume the issue is with the Dash being at the end of the name, if it was stuck somewhere in the middle, such as This - is Dash it would be ok?
Maren
I presume the issue is with the Dash being at the end of the name, if it was stuck somewhere in the middle, such as This - is Dash it would be ok?
Maren
- Elessar
- Community Contributor
- Posts: 355
- Joined: Mon Nov 21, 2011 12:33 pm
- OLAP Product: PA 2
- Version: 2.0.9
- Excel Version: 2016
- Contact:
Re: Old Architect rule editor replaces dashes with hyphens
Yes, this happens no matter where the dash is located
- gtonkin
- MVP
- Posts: 1211
- Joined: Thu May 06, 2010 3:03 pm
- OLAP Product: TM1
- Version: Latest and greatest
- Excel Version: Office 365 64-bit
- Location: JHB, South Africa
- Contact:
Re: Old Architect rule editor replaces dashes with hyphens
The dash in the first screenshot is an Em Dash - MS Word is generally to blame and converts dashes to em dashes via auto correct as you type.
Someone then copies these to Excel or elsewhere then into TM1 and you have an issue.
Em Dash is Unicode Character “—” (U+2014)
Edit: you may need to check the file on disk to see what is being saved back - could also be a character set issue - rich text but not sure why it would work the first time.
Someone then copies these to Excel or elsewhere then into TM1 and you have an issue.
Em Dash is Unicode Character “—” (U+2014)
Edit: you may need to check the file on disk to see what is being saved back - could also be a character set issue - rich text but not sure why it would work the first time.
- Elessar
- Community Contributor
- Posts: 355
- Joined: Mon Nov 21, 2011 12:33 pm
- OLAP Product: PA 2
- Version: 2.0.9
- Excel Version: 2016
- Contact:
Re: Old Architect rule editor replaces dashes with hyphens
Yes Sherlock, it was exactly like you've described
The rux file, equally to rule editor, contains em-dash on start, and hyphen after changing the rule.