FetchHistory doesn't work in server mode

Oct 28, 2015 at 7:01 PM
Edited Oct 28, 2015 at 7:02 PM
Hi

When running in Server mode FetchHistory throws an exception (Unable to cast object of type 'System.Object[]' to type 'System.Int32[]'). It turns out this happens in the RaptorDBClient.FetchHistory() method, when it attempts to return the int[]:
return (int[])ret.Data;
For whatever reason .NET won't cast an object (that is an object[]) to an int[] (if that makes any sense). Anyway I changed the return statement to:
return Array.ConvertAll((object[])ret.Data, i => int.Parse(i.ToString())); 
And it works for me.
Nov 5, 2015 at 12:50 PM
Edited Nov 5, 2015 at 12:52 PM
Were you able to confirm this issue?