Page 1 of 1

Pages disappearing from report when data is missing

Posted: Thu Apr 07, 2016 11:17 am
by ACIV
Hello there,

Before when the report wasn't receive all the data defined in it's connection the charts would still show up but empty and the all the pages would render fine. Now, pages seem to disappear entirely from the report and the page numbering function on the footer becomes buggy and renders random characters. Please see attached example report, also note this is using .Fx 2016.1.3

Thank you

Re: Pages disappearing from report when data is missing

Posted: Fri Apr 08, 2016 8:21 am
by Vladimir
Hello,

We have fixed this error. Please download the updated version from the link below:

FXFLEX_2016.04.08_Trial.zip

If this version works correctly and you are a licensed customer, please send a request to support@stimulsoft.com with reference to this forum topic.

Thank you.

Re: Pages disappearing from report when data is missing

Posted: Mon Apr 11, 2016 10:25 am
by ACIV
Hello there,

The fix seems to have worked for the designer application preview however the libs included in the release do not fix the bug in my application.

Please refer to the attached sample again,

Thank you

Re: Pages disappearing from report when data is missing

Posted: Tue Apr 12, 2016 8:35 am
by Vladimir
Hello,

We checked the Flex components (Stimulsoft_DesignerFx.swc and Stimulsoft_ViewerFx.swc) version 2016.1.7 from 2016.04.08
Your report with charts working correctly.
Please check the versions of libraries in your project, also try to clear the browser cache.

Thank you.

Re: Pages disappearing from report when data is missing

Posted: Tue Apr 12, 2016 9:49 am
by ACIV
Please refer to my attachment - I've attempted this again and have clicked on the question mark in order to show what version of libs my app is using. Observe the pagination bug in the report and also that of the component showing there is only one page as opposed to 4. :?

Re: Pages disappearing from report when data is missing

Posted: Tue Apr 12, 2016 11:05 am
by Vladimir
Hello,

We have tested the viewer and your report with the same Flash version 21.0, the issue is not reproduced.
Please see the screenshot, also please see our test application with libraries in the attached archive - start it on your computer.

Please tell us about the results.

Thank you.

App:
SampleProject.zip
(3.76 MiB) Downloaded 403 times
Image:
image.png
image.png (105.28 KiB) Viewed 7760 times

Re: Pages disappearing from report when data is missing

Posted: Thu Apr 14, 2016 10:33 am
by ACIV
There is a difference in how your code example loads the data and how my patterns are. Can you please attempt to use the following function (regDataXML) to load the data and tell me if you see the same results, or perhaps you can identify an issue with how I'm coding this?

Code: Select all

report.dictionary.databases.clear();
trace("data provider report: \n" + _dataProviderReport.toString());
report.regDataXML("Connection1","Connection1",_dataProviderReport);
try
{
     report.show(reportViewer);
}
catch( error:Error )
{
     trace("we have an error", error);
}				
Thank you.

Re: Pages disappearing from report when data is missing

Posted: Thu Apr 14, 2016 1:12 pm
by Vladimir
Hello,

We have fixed the error with regData() method. You can download the updated version from the link below:

FXFLEX_2016.04.14_Trial.zip

Please inform us about the results.

Thank you.

Re: Pages disappearing from report when data is missing

Posted: Fri Apr 15, 2016 1:51 pm
by ACIV
Yep, that's fixed it. Great work, thank you so much

Re: Pages disappearing from report when data is missing

Posted: Mon Apr 18, 2016 6:15 am
by HighAley
Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.