Issue with Angular Designer not disposing instance

Stimulsoft Reports.Web discussion
Post Reply
vitek.abeln
Posts: 11
Joined: Thu Nov 05, 2020 2:14 pm

Issue with Angular Designer not disposing instance

Post by vitek.abeln » Fri Feb 26, 2021 12:21 pm

Hello,

I was researching something interesting about the angular designer lately. I have an angular client with the stimulsoft designer and a .Net Core api which serves the angular app. Inside my angular application I route to the component which has the stimulsoft designer inside. When I have the designer opened and the first time I save the report with "Ctrl+S" everything is fine. When I go back to my main page the component with the designer should get disposed. When I press the "Ctrl+S" combination in my main page, I see a POST request is still being made to the API, as if the designer instance was still present. When I route again to the designer and open a different report, another instance of the designer is being created. And again when I press "Ctrl+S" instead of the 2 POST requests it was making before, there are now 4. Two from the current report and two from the previous. How do I dispose of the designer instance once I close my component? When browsing the "StimulsoftDesignerComponent" inside angular I only saw a constructor and no destructor. Apparently my component that I was routing to gets disposed but not the designer instance. Is there a fix to this, or is this a bug?

Thank you for your reply.

Best regards
Vadim
Posts: 273
Joined: Tue Apr 23, 2013 11:23 am

Re: Issue with Angular Designer not disposing instance

Post by Vadim » Mon Mar 01, 2021 10:39 am

Hello.

We need more time to prepare an answer for you.
We will let you know when we get any results.

Thank you.
vitek.abeln
Posts: 11
Joined: Thu Nov 05, 2020 2:14 pm

Re: Issue with Angular Designer not disposing instance

Post by vitek.abeln » Tue Mar 02, 2021 7:00 am

Thank you for your efforts. It could be that just the shortcut key listener might be keeping the instance running. Something apparently is not getting disposed/closed. I hope to hear from you soon.
Lech Kulikowski
Posts: 3492
Joined: Tue Mar 20, 2018 5:34 am

Re: Issue with Angular Designer not disposing instance

Post by Lech Kulikowski » Sat Mar 06, 2021 12:35 pm

Hello,

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

Thank you.
vitek.abeln
Posts: 11
Joined: Thu Nov 05, 2020 2:14 pm

Re: Issue with Angular Designer not disposing instance

Post by vitek.abeln » Mon Mar 08, 2021 11:10 am

Great. Hope to to hear from you soon.
Lech Kulikowski
Posts: 3492
Joined: Tue Mar 20, 2018 5:34 am

Re: Issue with Angular Designer not disposing instance

Post by Lech Kulikowski » Fri Mar 12, 2021 2:52 pm

Hello,

We will let you know about the result as fast as possible.

Thank you.
vitek.abeln
Posts: 11
Joined: Thu Nov 05, 2020 2:14 pm

Re: Issue with Angular Designer not disposing instance

Post by vitek.abeln » Thu Apr 08, 2021 7:17 am

Any news on this issue?

Best regards
Vadim
Posts: 273
Joined: Tue Apr 23, 2013 11:23 am

Re: Issue with Angular Designer not disposing instance

Post by Vadim » Thu Apr 08, 2021 8:28 am

Hello.

We will let you know about the result as fast as possible.

Thank you.
Post Reply