Page 1 of 1

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

Posted: Wed Dec 04, 2019 2:04 pm
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?

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

Posted: Thu Dec 05, 2019 12:37 pm
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!

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

Posted: Sun Dec 08, 2019 10:31 pm
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.

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

Posted: Tue Dec 10, 2019 9:18 pm
by Lech Kulikowski
Hello,

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

Thank you.

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

Posted: Fri Dec 13, 2019 5:26 pm
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.

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

Posted: Mon Dec 16, 2019 8:27 pm
by Lech Kulikowski
Hello,

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

Thank you.

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

Posted: Wed Jan 08, 2020 8:18 am
by Lech Kulikowski
Hello,

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

Thank you.