{"action":"created","issue":{"url":"https://api.github.com/repos/ra0o0f/arangoclient.net/issues/18","labels_url":"https://api.github.com/repos/ra0o0f/arangoclient.net/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/ra0o0f/arangoclient.net/issues/18/comments","events_url":"https://api.github.com/repos/ra0o0f/arangoclient.net/issues/18/events","html_url":"https://github.com/ra0o0f/arangoclient.net/issues/18","id":115244167,"number":18,"title":"Traversal result causes [1205] illegal document handle (while executing)","user":{"login":"JulianMay","id":1412348,"avatar_url":"https://avatars.githubusercontent.com/u/1412348?v=3","gravatar_id":"","url":"https://api.github.com/users/JulianMay","html_url":"https://github.com/JulianMay","followers_url":"https://api.github.com/users/JulianMay/followers","following_url":"https://api.github.com/users/JulianMay/following{/other_user}","gists_url":"https://api.github.com/users/JulianMay/gists{/gist_id}","starred_url":"https://api.github.com/users/JulianMay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulianMay/subscriptions","organizations_url":"https://api.github.com/users/JulianMay/orgs","repos_url":"https://api.github.com/users/JulianMay/repos","events_url":"https://api.github.com/users/JulianMay/events{/privacy}","received_events_url":"https://api.github.com/users/JulianMay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-05T09:39:01Z","updated_at":"2015-11-05T19:41:37Z","closed_at":"2015-11-05T10:22:34Z","body":"Took some time to find the cultprit, but here it is:\r\n\r\nThis code \r\n```\r\nvar noteScope = _db.Query()\r\n               .For(a => AQL.Traversal<Target, Relates>(startAt, EdgeDirection.Inbound))\r\n               .For(target => AQL.Edges<Relates>(target.Vertex.Id, EdgeDirection.Inbound))\r\n               .Filter(relation => relation.Label == Relates.NoteAttachementLabel )\r\n               .Return(relation => relation.Out);\r\n```\r\n\r\nnow (after upgrade to 0.7.2.3) generates this query:\r\n\r\n```\r\nfor `n` in `Note`  \r\nfilter  (  `n`.`_id` in (  \r\nfor `target` in  traversal(  `Target` ,  `Relates` ,  \"Target/roomstay:1001,1\"  ,  \"inbound\"  )  \r\nfor `relation` in  edges(  `Relates` ,  `target`.`Vertex` .`_id`  ,  \"inbound\"  )  \r\nfilter  (  `relation`.`Label`  ==  \"Note attached to\"  )  \r\nreturn  `relation`.`_from`  )  \r\nand  (  length(  intersection(  `n`.`Relevances`  ,  [\"Check In\",\"Service\"]  )  )  >  0  )  )  \r\nreturn  `n`\r\n```\r\n\r\nwhich throws \"[1205] illegal document handle (while executing)\" because of \"`target`.`Vertex` .`_id`\" (which should be \"`target`.`vertex` .`_id`\", small 'v' in vertex)"},"comment":{"url":"https://api.github.com/repos/ra0o0f/arangoclient.net/issues/comments/154168914","html_url":"https://github.com/ra0o0f/arangoclient.net/issues/18#issuecomment-154168914","issue_url":"https://api.github.com/repos/ra0o0f/arangoclient.net/issues/18","id":154168914,"user":{"login":"ra0o0f","id":2182530,"avatar_url":"https://avatars.githubusercontent.com/u/2182530?v=3","gravatar_id":"","url":"https://api.github.com/users/ra0o0f","html_url":"https://github.com/ra0o0f","followers_url":"https://api.github.com/users/ra0o0f/followers","following_url":"https://api.github.com/users/ra0o0f/following{/other_user}","gists_url":"https://api.github.com/users/ra0o0f/gists{/gist_id}","starred_url":"https://api.github.com/users/ra0o0f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ra0o0f/subscriptions","organizations_url":"https://api.github.com/users/ra0o0f/orgs","repos_url":"https://api.github.com/users/ra0o0f/repos","events_url":"https://api.github.com/users/ra0o0f/events{/privacy}","received_events_url":"https://api.github.com/users/ra0o0f/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T19:41:37Z","updated_at":"2015-11-05T19:41:37Z","body":"fixed, new nuget packages is available at https://www.nuget.org/packages/ArangoDB.Client"}}