You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data.Csv.Tests.FolderAsDatabase.CsvInsertTests.Insert_ShouldInsertData
Source: CsvInsertTests.cs line 15
Duration: 154 ms
Message:
System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
Stack Trace:
List`1.get_Item(Int32 index)
FileQuery.GetValue(ParseTreeNodeList x) line 91
FileInsertQuery.<GetValues>b__1_0(ParseTreeNode x) line 16
SelectListIterator`2.GetCount(Boolean onlyIfCheap)
FileInsertQuery.GetValues() line 17
FileInsert.Execute() line 43
FileCommand.ExecuteNonQuery() line 71
InsertTests.Insert_ShouldInsertData(Func`1 createFileConnection) line 35
CsvInsertTests.Insert_ShouldInsertData() line 18
RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
The text was updated successfully, but these errors were encountered:
Although it appears that we support boolean values in the data sources (for example: https://github.com/Servant-Software-LLC/ADO.NET.FileBased.DataProviders/blob/main/tests/Data.Json.Tests/Sources/Folder/employees.json#L6), if we change the INSERT statement in https://github.com/Servant-Software-LLC/ADO.NET.FileBased.DataProviders/blob/main/tests/Data.Tests.Common/InsertTests.cs#L34 to provide the literal true instead of a string quoted literal 'true', then the Irony parsing assumes that it is a simple_id and an exception occurs.
The text was updated successfully, but these errors were encountered: