{"action":"opened","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4187","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4187/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4187/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4187/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4187","id":78530086,"number":4187,"title":"invalid result for let part for version  2.1-rc2","user":{"login":"martingg88","id":7898120,"avatar_url":"https://avatars.githubusercontent.com/u/7898120?v=3","gravatar_id":"","url":"https://api.github.com/users/martingg88","html_url":"https://github.com/martingg88","followers_url":"https://api.github.com/users/martingg88/followers","following_url":"https://api.github.com/users/martingg88/following{/other_user}","gists_url":"https://api.github.com/users/martingg88/gists{/gist_id}","starred_url":"https://api.github.com/users/martingg88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martingg88/subscriptions","organizations_url":"https://api.github.com/users/martingg88/orgs","repos_url":"https://api.github.com/users/martingg88/repos","events_url":"https://api.github.com/users/martingg88/events{/privacy}","received_events_url":"https://api.github.com/users/martingg88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-20T13:35:38Z","updated_at":"2015-05-20T13:35:38Z","closed_at":null,"body":"SELECT *, $story as story FROM page LET $story = (SELECT @rid as rid, url, metadata, done FROM story WHERE $\r\ncurrent.page = $parent.current.@rid and $current.done = false ORDER BY metadata.release_date DESC)\r\n\r\ndecompose \"story\" get the following invalid result. \r\n\r\n[ { [String: '#-2:1'] cluster: -2, position: 1 },\r\n{ [String: '#-2:2'] cluster: -2, position: 2 },\r\n{ [String: '#-2:0'] cluster: -2, position: 0 },\r\n{ [String: '#-2:3'] cluster: -2, position: 3 },\r\n{ [String: '#-2:4'] cluster: -2, position: 4 },\r\n{ [String: '#-2:6'] cluster: -2, position: 6 },\r\n{ [String: '#-2:7'] cluster: -2, position: 7 },\r\n{ [String: '#-2:5'] cluster: -2, position: 5 } ]"}}