Declined
Last Updated: 31 Mar 2020 15:11 by Al
Al
Created on: 25 Mar 2020 01:24
Type: Bug Report
0
When WebServiceDataSource has both inline JSON and service Url, in design time the data is requested from the service

I believe I have the updated item, but it still does not work. I'm using Telerik Report Designer version 14.0.20.219 and I'm adding the WebServiceDataSource as follows with the following results (BTW this from a remote session at 1920x1080 and the program handling of this resolution is poor):

Add service URL parameter:

Set External Data File:

 

Set Parameters:

Click download - which will fail for the Web data source and should load the JSON data file; but:

 

Please advise -- and please work on the handling of this screen resolution.

2 comments
Al
Posted on: 31 Mar 2020 15:11
I understand your point of view - obviously my needs are different. I will then continue to have two sets of data sources, one for design and one for production, but as I have stated that leaves me with the liability to remember to switch back before a deploy.
ADMIN
Todor
Posted on: 31 Mar 2020 09:15

Hello Al,

We started discussing the issue in the bug report you opened for the initial problem that is already resolved. Here is the link to the thread - When WebServiceDataSource has both inline JSON and service Url, in design time the data is requested from the service.

To summarize for our community, the requirement is on the 'Preview' of the report and on click of the 'Download' button in the WebServiceDataSource wizard the Reporting engine to fallback to the embedded JSON data or external data file when the actual Web Service cannot be accessed or fails to return data.

We don't see the observed behavior as a bug, as it is designed to work this way. For that reason, I have declined it. I explain our motives in the following paragraph.

The purpose of the 'Preview' and 'Download' functionalities is to see how the real report will look like. We also intend to notify the developer if something goes wrong with the service.

For example, if the service is broken (e.g. returns an invalid JSON), if the service returns a JSON object with different schema or the connection is misconfigured, if the 'Preview' falls back to the embedded data, the developer may miss this. In such cases, the desired behavior may introduce more damage rather than benefits.

Regards,
Todor
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.