Unhandled exception in Filter Extension
-
Monday, May 23, 2011 11:28 AMThere is an unhandled exception in Filter Extension:
http://code.msdn.microsoft.com/Filter-Control-for-Visual-90fb8e93
To reproduce:
Use filter with a query linked referencing at least 2 tables (entities) eg.: Products and Categories, and while choosing a clause in a filter choose the name of entity (parent node) instead of field inside eg.:
Where Category equals Beverages
instead of
Where Category.Name equals Beverages.
This will throw an exception:
"Cannot convert Beverages to entity type".
As I think this is a great extension it would be worth fixing the code in the sample for download- Edited by gregid Monday, May 23, 2011 2:11 PM formatting
All Replies
-
Tuesday, June 07, 2011 12:13 AMOwner
Hi gregid,
Thanks for reporting this, I'll pass it along to the developer!
-Beth
Senior Program Manager, Visual Studio Community http://msdn.com/lightswitch http://msdn.com/vbasic http://msdn.com/vsto http://www.bethmassi.com -
Wednesday, June 15, 2011 9:07 PM
The extension has been updated to fix the issue. You'll need to remove the version with your project and add the new one.
http://code.msdn.microsoft.com/Filter-Control-for-Visual-90fb8e93
Thanks!
- Marked As Answer by John.StalloModerator Thursday, June 16, 2011 12:30 AM

