Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Stimulsoft Reports.JS discussion
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by mrapi »

Hi
After update from 2020.4.2 to 2020.5.1 I have that error in console:
img.png
img.png (17.13 KiB) Viewed 3210 times
in my Angular 10 code I use something like that:

Code: Select all

export class LrapComponent implements OnInit {
  options: any = new Stimulsoft.Viewer.StiViewerOptions();
  viewer: any = new Stimulsoft.Viewer.StiViewer(this.options, 'StiViewer', false);
...
reverting to 2020.4.2 works
I use stimulsoft.reports.pack.js and stimulsoft.viewer.pack.js

thanks
Lech Kulikowski
Posts: 7297
Joined: Tue Mar 20, 2018 5:34 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by Lech Kulikowski »

Hello,

The issue is fixed. The fix will be in the next minor build within several days.

Thank you.
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by mrapi »

k
thanks
Lech Kulikowski
Posts: 7297
Joined: Tue Mar 20, 2018 5:34 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by Lech Kulikowski »

Hello

You are welcome.
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by mrapi »

Hi,I've tested with latest build(Version: 2020.5.1.1 Build date: 2020.11.04) but the same error
Lech Kulikowski
Posts: 7297
Joined: Tue Mar 20, 2018 5:34 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by Lech Kulikowski »

Hello,

Please check the version 2020.5.1.3

Thank you.
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by mrapi »

Hi,is that version released?
inside my account the latest version is from 27/10/2020, Stimulsoft Ultimate 2020.5.1
thanks
Lech Kulikowski
Posts: 7297
Joined: Tue Mar 20, 2018 5:34 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by Lech Kulikowski »

Hello,

Within several days will be available new build 2020.5.2. Please check it.

Thank you.
mrapi
Posts: 282
Joined: Sat Dec 20, 2008 1:08 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by mrapi »

Hi,tested with 2020.5.2 but the same error
Lech Kulikowski
Posts: 7297
Joined: Tue Mar 20, 2018 5:34 am

Re: Cannot read property 'StiViewerOption' of undefined(v 2020.5.1)

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue.
Please send us a sample project that reproduces the issue for analysis.

Thank you.
Post Reply