{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4082","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4082/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4082/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4082/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4082","id":73318709,"number":4082,"title":"select expand(rid) from index ... bug from java api","user":{"login":"publicocean0","id":2518180,"avatar_url":"https://avatars.githubusercontent.com/u/2518180?v=3","gravatar_id":"","url":"https://api.github.com/users/publicocean0","html_url":"https://github.com/publicocean0","followers_url":"https://api.github.com/users/publicocean0/followers","following_url":"https://api.github.com/users/publicocean0/following{/other_user}","gists_url":"https://api.github.com/users/publicocean0/gists{/gist_id}","starred_url":"https://api.github.com/users/publicocean0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publicocean0/subscriptions","organizations_url":"https://api.github.com/users/publicocean0/orgs","repos_url":"https://api.github.com/users/publicocean0/repos","events_url":"https://api.github.com/users/publicocean0/events{/privacy}","received_events_url":"https://api.github.com/users/publicocean0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"luigidellaquila","id":459289,"avatar_url":"https://avatars.githubusercontent.com/u/459289?v=3","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/38","html_url":"https://github.com/orientechnologies/orientdb/milestones/3.1","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/38/labels","id":959772,"number":38,"title":"3.1","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":1,"state":"open","created_at":"2015-01-31T21:40:55Z","updated_at":"2015-05-05T14:48:47Z","due_on":"2015-10-13T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-05-05T13:41:25Z","updated_at":"2015-05-05T15:06:39Z","closed_at":null,"body":"\tList<ODocument> list=db.command(new OCommandSQL(\"select expand(rid) from index:index_l\")...\r\n\r\nwhy return elements of class ORecordId and not ODocument (i expanded for for see also fields inside)???"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/99107526","html_url":"https://github.com/orientechnologies/orientdb/issues/4082#issuecomment-99107526","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4082","id":99107526,"user":{"login":"publicocean0","id":2518180,"avatar_url":"https://avatars.githubusercontent.com/u/2518180?v=3","gravatar_id":"","url":"https://api.github.com/users/publicocean0","html_url":"https://github.com/publicocean0","followers_url":"https://api.github.com/users/publicocean0/followers","following_url":"https://api.github.com/users/publicocean0/following{/other_user}","gists_url":"https://api.github.com/users/publicocean0/gists{/gist_id}","starred_url":"https://api.github.com/users/publicocean0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publicocean0/subscriptions","organizations_url":"https://api.github.com/users/publicocean0/orgs","repos_url":"https://api.github.com/users/publicocean0/repos","events_url":"https://api.github.com/users/publicocean0/events{/privacy}","received_events_url":"https://api.github.com/users/publicocean0/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T15:06:39Z","updated_at":"2015-05-05T15:06:39Z","body":"if you want i see another little problem , it seams a bug:\r\n\r\nbegin\r\nlet d =  select rid from index:index_l where key = 'f1'\r\nlet c = delete from $d\r\ncommit retry 100\r\nreturn $c\r\n\r\nreturn 0 not 1\r\n\r\ni tried to change row let d =  select rid from index:index_l where key = 'f1'\r\nin let d =  select expand(rid) from index:index_l where key = 'f1'\r\nbut same result. \r\n\r\n"}}