Page 1 of 2
error loading mrt file to the viewer (Latest build)
Posted: Mon Feb 13, 2017 4:48 pm
by jpgb
Error while loading any mrt map to the viewer:
InvalidCharacterError: String contains an invalid character
stimuls...orts.js (linha 154)
Went back to another version and it is working
JB
Re: error loading mrt file to the viewer (Latest build)
Posted: Tue Feb 14, 2017 2:26 pm
by HighAley
Hello.
Could you specify the exact version of our product?
Please, send the report template that you get the error with.
Thank you.
Re: error loading mrt file to the viewer (Latest build)
Posted: Fri Feb 17, 2017 8:38 am
by jpgb
it was giving this error with 12.02.20017 build.
with 15.02.2017 build the error is now:
TypeError: S[D] is undefined
It happens when i load the map into the viewer
In build JS_2017.01.29 it works fine.
JB
Re: error loading mrt file to the viewer (Latest build)
Posted: Fri Feb 17, 2017 8:40 am
by jpgb
I forgot to mention that its probable a duplicate of "Report problem build 2016.3.8" problem
JB
Re: error loading mrt file to the viewer (Latest build)
Posted: Fri Feb 17, 2017 2:32 pm
by HighAley
Hello.
Could you send us sample data for you report that will help us to reproduce the issue?
Thank you,
Re: error loading mrt file to the viewer (Latest build)
Posted: Sat Feb 18, 2017 2:00 pm
by jpgb
In the last version (17.02) the last error doesnt exist anymore.
But the viewer is not showing all the report, somehow part of it is now invisible.

- modal.jpg (214.67 KiB) Viewed 6497 times
Im using it in a modal form, and it works fine in JS_2017.01.29
Image and json data attached.
Any ideas?
Thanks
JB
Re: error loading mrt file to the viewer (Latest build)
Posted: Sun Feb 19, 2017 1:02 pm
by jpgb
Well...in the latest version this html
<div id="StiViewerReportPanel" class="stiJsViewerReportPanel" style="text-align: center; bottom: 0px; position: relative; top: 0px; overflow: hidden; margin-top: 0px;">
was changed to
<div id="StiViewerReportPanel" class="stiJsViewerReportPanel" style="text-align: center; bottom: 0px; position: absolute; top: 35px; overflow: hidden; margin-top: 0px;">
and this is what's causing the problem...
Re: error loading mrt file to the viewer (Latest build)
Posted: Mon Feb 20, 2017 1:55 pm
by HighAley
Hello.
Yes, the style could cause such issue.
Thank you.
Re: error loading mrt file to the viewer (Latest build)
Posted: Tue Feb 28, 2017 4:51 pm
by jpgb
HigAley is there any workaround for this issue in a bootstrap modal?
I know i can execute
$("#StiViewerReportPanel").attr("style","text-align: center; bottom: 0px; position: relative; top: 0px; overflow: hidden; margin-top: 0px;");
it goes back to normal, but after the report is rendered the top goes back to 35px, something in your script is changing it, and we dont have an event for after report is rendered...
thanks
JB
Re: error loading mrt file to the viewer (Latest build)
Posted: Thu Mar 02, 2017 6:07 am
by HighAley
Hello.
We are very sorry, but our product was not tested with the bootstrap modal.
You could try to find a solution on your side and share it with us.
Thank you.