Initial empty data bug

Stimulsoft Reports.WEB discussion
Post Reply
julianc
Posts: 2
Joined: Thu Jul 13, 2017 5:00 am

Initial empty data bug

Post by julianc »

I use a JSON API data source with some parameters set by the user.

If the initial JSON request returns an empty array, the report is not able to populate the table after the user has changed the variables and done a submit that returns actual data.

Example that fails:

1. User loads the report, with a date set by default to today, the json returns an empty array.
2. no data to render (and get some warnings from the designer).
2. User changes the date to yesterday and does the submit, the json returns data.
3. the data is not rendered.

Example that works:
1. User loads the report, with a date set by default to yesterday, the json returns a populated array.
2. the data is rendered.
3. User changes the date to yesterday and does the submit, the json return an empty array.
4. no data to render.

So bottom line is that report only works if the initial render has data, if the initial data is empty, future data won't be rendered.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Initial empty data bug

Post by Alex K. »

Hello,

We couldn't reproduce this bug. Please try to check the last release.

If the issue still present, please send us a simple report with test data which reproduces the issue for analysis.

Thank you.
Post Reply