localizeReport('en') gives stimulsoft of null in 2019.4.2

Stimulsoft Reports.JS discussion
Post Reply
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

localizeReport('en') gives stimulsoft of null in 2019.4.2

Post by terje.pedersen »

Yet another 'stimulsoft' of null error

Stimulsoft.Reports.js version 2019.4.2, also in 2019.4.1 (haven't tested older versions)
running localizeReport('en') gives error for some of our translated reports:
Line 92: A=t.getComponents().getByName(S).stimulsoft.as(e.IStiGlobalizationProvider)

If I managed to create a stripped down report with this error I will upload it later on.

Anyone knows what could causing this?
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: localizeReport('en') gives stimulsoft of null in 2019.4.2

Post by terje.pedersen »

Hi again, the reason for this error is GlobalizationStrings with PropertyName field where the name doens't exist anymore in the report for some reason could be some error also in the report designer causing this but stimulsoft.reports.js should not fail for the all translations if it finds missing fields, you haven't guarded it!
Lech Kulikowski
Posts: 6254
Joined: Tue Mar 20, 2018 5:34 am

Re: localizeReport('en') gives stimulsoft of null in 2019.4.2

Post by Lech Kulikowski »

Hello,

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

Thank you.
Lech Kulikowski
Posts: 6254
Joined: Tue Mar 20, 2018 5:34 am

Re: localizeReport('en') gives stimulsoft of null in 2019.4.2

Post by Lech Kulikowski »

Hello,

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

Thank you.
mickey
Posts: 6
Joined: Fri Aug 02, 2019 1:15 pm

Re: localizeReport('en') gives stimulsoft of null in 2019.4.2

Post by mickey »

Hi,
I think terje.pedersen was right. I am having the same problem when using the Globalization function. It also happens when you have translations in another language then you change/delete the name of the label controls which has the translations specified other than the default English language. For me, It is still happening with 'pt'.

Suggestions:
The report engine should gaurd these conditions and the Designer should also clear up those corrupted entries in its GlobalizationStrings entries within the report file.
I will send to support my report as well. Hope that Stimulsoft can address this ASAP.

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

Re: localizeReport('en') gives stimulsoft of null in 2019.4.2

Post by Lech Kulikowski »

Hello,

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

Thank you.
Lech Kulikowski
Posts: 6254
Joined: Tue Mar 20, 2018 5:34 am

Re: localizeReport('en') gives stimulsoft of null in 2019.4.2

Post by Lech Kulikowski »

Hello,

The issue is fixed. The fix will be available in the next release build.

Thank you.
Post Reply