PDA

View Full Version : Bug - Missing VRW file causes Crash.



Michael Mullan
3-Mar-2010, 02:20 PM
If you have a VRW report integrated into a VDF app, and the VRW file is not where the app expects it to be, then the program crashes.

I'd expect an error message "VRW report file cannot be located"

MM.

Vincent Oorsprong
4-Mar-2010, 01:41 AM
Michael,

Can you tell me how to duplicate this because the OpenReport function (in cVisualReport) checks:
- If the reportname contains a path it tests if the file is there and if so it can use it
- Else it iterates through the datapaths of your workspace and checks if the file is there, if so it will use it and if not it reports an error (not a crash error).

But since we are still in developing/testing phase I might have overlooked a way another developer tries to use the integration and might be able to avoid a crash as you mention.