Export to GitHub

subsonicproject - issue #76

Patch: In(...) and NotIn(...) throw "Failed to convert parameter value from a String to a ..." exception


Posted on Apr 27, 2009 by Helpful Dog

What steps will reproduce the problem? 1. Create a query with .In(new List<int>()) somewhere in it 2. Or Create a query with .NotIn(new List<long>()) somewhere...

What is the expected output? What do you see instead? Get an exception because it is trying to convert "NULL" to an int,long, etc type value.

What version of the product are you using? On what operating system? 2.2 - Latest svn

Attachments

Comment #1

Posted on May 4, 2009 by Massive Lion

(No comment was entered for this change.)

Comment #2

Posted on May 4, 2009 by Massive Lion

Thanks for the patch! The changes will be reflected in my next check-in...

Comment #3

Posted on May 4, 2009 by Massive Lion

Patch applied in Revision 522.

Status: Fixed

Labels:
Type-Defect Priority-Medium