Page 1 of 1

Escape tab symbol when saving report to json

Posted: Thu Dec 13, 2018 10:47 am
by nds
JS Designer (2018.3.5) can't open reports if any text field contains tab symbol.

Steps to reproduce:
1. Create new report in designer
2. Add new any SQL data source with query contained tab symbol. You can't add it with tab key so just copy from some text editor.
3. Save report as file
4. Open report file. Designer will crash when trying to JSON.parse(...).

As I can see, Stimulsoft.Base.StiJson.serialize() method make some escaping for special chars, but \t char is replaced with the same \t, while it must be replaced to \\t.

Re: Escape tab symbol when saving report to json

Posted: Sun Dec 16, 2018 8:48 am
by Lech Kulikowski
Hello,

Thank you for the bug report. We have added this task to our to-do list, try to fix as fast as possible.

Thank you.
#7607

Re: Escape tab symbol when saving report to json

Posted: Fri Dec 21, 2018 9:50 am
by Lech Kulikowski
Hello,

The issue is fixed. The fix will be available in the next build which will be within several days.

Thank you.