{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3641","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3641/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3641/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3641/events","html_url":"https://github.com/orientechnologies/orientdb/issues/3641","id":58542007,"number":3641,"title":"Cannot unlock a never acquired lock","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":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/in%20progress","name":"in progress","color":"CCCCCC"}],"state":"open","locked":false,"assignee":{"login":"laa","id":105066,"avatar_url":"https://avatars.githubusercontent.com/u/105066?v=3","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/50","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.0.9","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/50/labels","id":1072884,"number":50,"title":"2.0.9","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":34,"closed_issues":7,"state":"open","created_at":"2015-04-17T22:48:42Z","updated_at":"2015-04-28T13:07:30Z","due_on":"2015-04-29T22:00:00Z","closed_at":null},"comments":29,"created_at":"2015-02-23T04:45:34Z","updated_at":"2015-04-28T16:40:46Z","closed_at":null,"body":"The following transaction caused \"Cannot unlock a never acquired lock\". \r\ni guess the second let query (etc: user) can't retrieve account data as the first let query (etc: account) still lock the account class. any idea how to solve this issue?\r\n\r\nBEGIN\r\n LET account = SELECT * FROM account WHERE email = \"cl@hotmail.com\" LIMIT 1\r\n LET user = SELECT EXPAND(in(\"own\")) FROM account WHERE email = \"cl@hotmail.com\"\r\n LET payment = SELECT EXPAND(out(\"own\")[@class =payment]) FROM $user\r\nCOMMIT"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/97130738","html_url":"https://github.com/orientechnologies/orientdb/issues/3641#issuecomment-97130738","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3641","id":97130738,"user":{"login":"laa","id":105066,"avatar_url":"https://avatars.githubusercontent.com/u/105066?v=3","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T16:40:46Z","updated_at":"2015-04-28T16:40:46Z","body":"Actually I fixed it. Funny issue. I will push code which you may try."}}