Page 1 of 2

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

Posted: Sat Oct 31, 2020 8:14 am
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 3209 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

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

Posted: Wed Nov 04, 2020 7:23 am
by Lech Kulikowski
Hello,

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

Thank you.

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

Posted: Wed Nov 04, 2020 8:08 am
by mrapi
k
thanks

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

Posted: Wed Nov 04, 2020 8:15 am
by Lech Kulikowski
Hello

You are welcome.

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

Posted: Sun Nov 15, 2020 4:11 pm
by mrapi
Hi,I've tested with latest build(Version: 2020.5.1.1 Build date: 2020.11.04) but the same error

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

Posted: Wed Nov 18, 2020 10:32 am
by Lech Kulikowski
Hello,

Please check the version 2020.5.1.3

Thank you.

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

Posted: Wed Nov 18, 2020 11:18 am
by mrapi
Hi,is that version released?
inside my account the latest version is from 27/10/2020, Stimulsoft Ultimate 2020.5.1
thanks

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

Posted: Mon Nov 23, 2020 9:03 am
by Lech Kulikowski
Hello,

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

Thank you.

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

Posted: Thu Nov 26, 2020 1:35 pm
by mrapi
Hi,tested with 2020.5.2 but the same error

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

Posted: Thu Nov 26, 2020 3:29 pm
by Lech Kulikowski
Hello,

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

Thank you.