{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/5091","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/5091/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/5091/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/5091/events","html_url":"https://github.com/neo4j/neo4j/issues/5091","id":99250359,"number":5091,"title":"Cypher locking regression in 2.2","user":{"login":"jonathancrosmer","id":3781497,"avatar_url":"https://avatars.githubusercontent.com/u/3781497?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathancrosmer","html_url":"https://github.com/jonathancrosmer","followers_url":"https://api.github.com/users/jonathancrosmer/followers","following_url":"https://api.github.com/users/jonathancrosmer/following{/other_user}","gists_url":"https://api.github.com/users/jonathancrosmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathancrosmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathancrosmer/subscriptions","organizations_url":"https://api.github.com/users/jonathancrosmer/orgs","repos_url":"https://api.github.com/users/jonathancrosmer/repos","events_url":"https://api.github.com/users/jonathancrosmer/events{/privacy}","received_events_url":"https://api.github.com/users/jonathancrosmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neo4j/neo4j/labels/2.2","name":"2.2","color":"bfd4f2"},{"url":"https://api.github.com/repos/neo4j/neo4j/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-08-05T16:57:36Z","updated_at":"2015-09-02T20:03:48Z","closed_at":null,"body":"See: https://stackoverflow.com/questions/31755509/neo4j-2-2-cypher-locking-regression\r\nThis seems likely to be a bug, where a lock can be released between queries in the same transaction.\r\nAny possible explanation?"},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/137228281","html_url":"https://github.com/neo4j/neo4j/issues/5091#issuecomment-137228281","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/5091","id":137228281,"user":{"login":"jonathancrosmer","id":3781497,"avatar_url":"https://avatars.githubusercontent.com/u/3781497?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathancrosmer","html_url":"https://github.com/jonathancrosmer","followers_url":"https://api.github.com/users/jonathancrosmer/followers","following_url":"https://api.github.com/users/jonathancrosmer/following{/other_user}","gists_url":"https://api.github.com/users/jonathancrosmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathancrosmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathancrosmer/subscriptions","organizations_url":"https://api.github.com/users/jonathancrosmer/orgs","repos_url":"https://api.github.com/users/jonathancrosmer/repos","events_url":"https://api.github.com/users/jonathancrosmer/events{/privacy}","received_events_url":"https://api.github.com/users/jonathancrosmer/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T20:03:48Z","updated_at":"2015-09-02T20:03:48Z","body":"I wasn't sure of the best way to upload a test case, but hopefully this will work.  Github won't accept `.tgz` so I renamed it to `.png`.  If you rename the file back to `test-case-5091.tgz`, then explode it with tar, then `sbt clean test`, the test case should fail.\r\n\r\nIf you look at `Action`, there is a line commented where if you delete it, the test will pass.  This seems to be the bug because that line isn't used anywhere in the test; in fact Action is merely saved and reloaded in the test.  The test also passes in neo4j `2.1.8`.\r\n\r\n```scala\r\n    @RelatedTo var review: ActionReview = _  // comment out this line and the test passes!\r\n```\r\n\r\n![test-case-5091](https://cloud.githubusercontent.com/assets/3781497/9642703/b57e5134-518b-11e5-9421-744632770449.png)\r\n"}}