Pages disappearing from report when data is missing

Stimulsoft Reports.Flex discussion
Locked
ACIV
Posts: 26
Joined: Mon Jan 27, 2014 5:20 pm

Pages disappearing from report when data is missing

Post 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
Attachments
ExampleReport.zip
(16.9 KiB) Downloaded 220 times
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Pages disappearing from report when data is missing

Post 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.
ACIV
Posts: 26
Joined: Mon Jan 27, 2014 5:20 pm

Re: Pages disappearing from report when data is missing

Post 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
Attachments
ExampleReport.zip
(17.76 KiB) Downloaded 227 times
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Pages disappearing from report when data is missing

Post 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.
ACIV
Posts: 26
Joined: Mon Jan 27, 2014 5:20 pm

Re: Pages disappearing from report when data is missing

Post 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. :?
Attachments
Stimulsoftissue.png
Stimulsoftissue.png (22.06 KiB) Viewed 5420 times
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Pages disappearing from report when data is missing

Post 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 212 times
Image:
image.png
image.png (105.28 KiB) Viewed 5416 times
ACIV
Posts: 26
Joined: Mon Jan 27, 2014 5:20 pm

Re: Pages disappearing from report when data is missing

Post 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.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Pages disappearing from report when data is missing

Post 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.
ACIV
Posts: 26
Joined: Mon Jan 27, 2014 5:20 pm

Re: Pages disappearing from report when data is missing

Post by ACIV »

Yep, that's fixed it. Great work, thank you so much
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Pages disappearing from report when data is missing

Post by HighAley »

Hello.

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

Thank you.
Locked