Validation Errors - provide more info

Topics: Service Factory Modeling Edition Forum
Aug 21, 2007 at 9:54 PM
Edited Aug 21, 2007 at 10:01 PM
Hello,

It would be very nice if a Validation Error could provide more context about where the Validation Error occurred. Currently a Validation Error only lists the name of the field where the validation occurred (not the MEL it occurred in), so you have to search through through lots of Model objects to locate the offending property.

Perhaps you could provide more information within the Validation Error? For example, the validation error might tell you which Model shape the Validation error occurred in.

Ideally, when a Validation Error occurs, it would be nice if you could double-click the Validation Error in Visual Studio's "Error List" window, and the invalid property field would be highlighted. (This is the behavior a developer expects when they receive a compiler error - typically they can double-click and jump right to the offending code). I know this effect would be difficult (or impossible) to achieve (I'm not sure how you can could jump inside property windows and highlight text in Visual Studio).

Thanks,
Steve