Stimulsoft Report Array Monkey Patch

Stimulsoft Reports.JS discussion
Post Reply
inavega
Posts: 9
Joined: Fri Jun 15, 2018 11:11 am

Stimulsoft Report Array Monkey Patch

Post by inavega »

Hi,
After opening a report within Stimulsoft, in certain cases our application would not behave correctly.
We discovered that the JS Component modifies the JS Array object:
Array.png
Array.png (27.81 KiB) Viewed 1289 times
This is generally considered a bad practice within the community, because it can lead to strange behaviors like the ones our company are having.
https://stackoverflow.com/questions/622 ... es/6223471
http://perfectionkills.com/extending-native-builtins/
https://stackoverflow.com/questions/140 ... d-practice
In our particular case we where searching for a Clone function which should not exist within Array's, but after opening the report this function and other ones were added.

Is there any plan in the future to address this serious issue or is there any workaround for this?
Best Regards,
Ivo
Lech Kulikowski
Posts: 7291
Joined: Tue Mar 20, 2018 5:34 am

Re: Stimulsoft Report Array Monkey Patch

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#1711
Post Reply