This is a migrated thread and some comments may be shown as answers.

Odd error when switching to/from Print Preview when a report has expired

3 Answers 12 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stephen McDaniel
Top achievements
Rank 1
Stephen McDaniel asked on 03 May 2017, 06:51 PM

We are using the WPF Report Viewer with a REST reporting endpoint.  If you try to switch to/from Print Preview mode and the report happens to have expired, we get a message in the report viewer that says "A problem occurred while creating a report instance".  I would have expected to instead get a message saying something like "Report is unavailable or session has expired".  Our users are used to getting the 'session expired' message from our Silverlight app (using the SL Report Viewer) as that message shows up in various cases.

I know it is a minor, mostly cosmetic issue but having a report expire is not totally uncommon for us so we'd like the user experience to be as friendly as possible.

This may be related to a very similiar issue we ran into with the SL Report Viewer.  In the past, doing these same steps actually lead to a Null Reference Exception message being shown.  See: http://www.telerik.com/forums/null-reference-exception-when-switching-to-from-print-preview-when-a-report-has-expired

3 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 05 May 2017, 01:10 PM
Hello Stephen,

We have logged this issue in our bug-tracking system and we are going to fix it in a future release. Thank you for letting us know about it.

Regards,
Nasko
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Stephen McDaniel
Top achievements
Rank 1
answered on 11 May 2017, 11:15 PM
On a very related note, I also noticed problems with the Export process if the report is expired.  When I select an export type from the Export dropdown, the report viewer just flashes and then nothing happens.  When looking at the network calls, I see a "Client with ID '1111-11' not found. Expired" message coming back to the app but it appears that error isn't really handled.  It would be nice if that also put up a friendly message like "Report is unavailable of session has expired".
0
Katia
Telerik team
answered on 16 May 2017, 10:13 AM
Hi Stephen,

Thank you again for noticing another issue with error handling. It will be logged into our system for further improvements.

Regards,
Katia
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Stephen McDaniel
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Stephen McDaniel
Top achievements
Rank 1
Katia
Telerik team
Share this question
or