Event detector in Version 2025.3.4

Stimulsoft Reports.JS discussion
Post Reply
franc.siswanto
Posts: 7
Joined: Sun Mar 02, 2025 8:13 am

Event detector in Version 2025.3.4

Post by franc.siswanto »

Hi,

I just tried Version 2025.3.4, and I found something a bit annoying:
Every time I open an existing MRT file and if it has any function even with default content (return "Hello";) and I'm sure that it does not has "event script", the designer will still notify me twice as if it had an "event script":
```
This document uses Events. If the document is from a trusted source, you can click the "Open" button to access it.

If you're unsure about the document's source but still want to view it, you can click the "Open in safe mode" button. In this case, events will be ignored and not executed.
```
Because I often review MRT files from various sources, this is quite annoying and forces me to double-check whether there is an event script or not.

Thanks.
Lech Kulikowski
Posts: 7375
Joined: Tue Mar 20, 2018 5:34 am

Re: Event detector in Version 2025.3.4

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
franc.siswanto
Posts: 7
Joined: Sun Mar 02, 2025 8:13 am

Re: Event detector in Version 2025.3.4

Post by franc.siswanto »

Alright then
Attachments
Rptwithfunction.mrt
(17.27 KiB) Downloaded 9 times
Lech Kulikowski
Posts: 7375
Joined: Tue Mar 20, 2018 5:34 am

Re: Event detector in Version 2025.3.4

Post by Lech Kulikowski »

Hello,

Please try to check the new build 2025.3.5

Thank you.
franc.siswanto
Posts: 7
Joined: Sun Mar 02, 2025 8:13 am

Re: Event detector in Version 2025.3.4

Post by franc.siswanto »

Thank you for your efforts. Unfortunately, if you have custom function and no event script,
the event script warning notification still appears when open the report.

Steps to reproduce:
- Use designer base on https://cdn.jsdelivr.net/npm/stimulsoft ... er.pack.js and it's associates
- Create a new blank report then save and close the report as is.
- Open the report and there is no warning notification. This is correct.
- Now create custom function as it is and save and close the report.
- Open the report and there is warning notification. This is incorrect.

I don't mean to upset you or anything, but this is an issue, and I apologize for it.
I'm not asking for an immediate fix, just include it on the agenda for the next release please,
as I'm currently still comfortable with 2025.2.5 (the warning notification issue has been around since 2025.3.1).

Thank you
Post Reply