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.
Escape tab symbol when saving report to json
-
- Posts: 6198
- Joined: Tue Mar 20, 2018 5:34 am
Re: Escape tab symbol when saving report to json
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
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
-
- Posts: 6198
- Joined: Tue Mar 20, 2018 5:34 am
Re: Escape tab symbol when saving report to json
Hello,
The issue is fixed. The fix will be available in the next build which will be within several days.
Thank you.
The issue is fixed. The fix will be available in the next build which will be within several days.
Thank you.