{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/4522","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/4522/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/4522/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/4522/events","html_url":"https://github.com/neo4j/neo4j/issues/4522","id":70706826,"number":4522,"title":"Neo4j 2.2.1 broken HEAD and LAST functions","user":{"login":"denistoikka","id":6383748,"avatar_url":"https://avatars.githubusercontent.com/u/6383748?v=3","gravatar_id":"","url":"https://api.github.com/users/denistoikka","html_url":"https://github.com/denistoikka","followers_url":"https://api.github.com/users/denistoikka/followers","following_url":"https://api.github.com/users/denistoikka/following{/other_user}","gists_url":"https://api.github.com/users/denistoikka/gists{/gist_id}","starred_url":"https://api.github.com/users/denistoikka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denistoikka/subscriptions","organizations_url":"https://api.github.com/users/denistoikka/orgs","repos_url":"https://api.github.com/users/denistoikka/repos","events_url":"https://api.github.com/users/denistoikka/events{/privacy}","received_events_url":"https://api.github.com/users/denistoikka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-24T14:38:10Z","updated_at":"2015-05-12T09:21:36Z","closed_at":null,"body":"Simple example:\r\n```\r\nCREATE (:A)-[:AB]->(:B)-[:BC]->(:C)\r\n```\r\nthen\r\n```\r\nMATCH (:A)-[r*]->(:C) return LAST(r)\r\n```\r\nreturns error \r\n```\r\nExpected `r` to be a Collection<Any> but it was a Relationship\r\n```\r\nIn Neo4j 2.2.0 it works correctly and returns last relation in path."},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/101208711","html_url":"https://github.com/neo4j/neo4j/issues/4522#issuecomment-101208711","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/4522","id":101208711,"user":{"login":"petraselmer","id":9249759,"avatar_url":"https://avatars.githubusercontent.com/u/9249759?v=3","gravatar_id":"","url":"https://api.github.com/users/petraselmer","html_url":"https://github.com/petraselmer","followers_url":"https://api.github.com/users/petraselmer/followers","following_url":"https://api.github.com/users/petraselmer/following{/other_user}","gists_url":"https://api.github.com/users/petraselmer/gists{/gist_id}","starred_url":"https://api.github.com/users/petraselmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petraselmer/subscriptions","organizations_url":"https://api.github.com/users/petraselmer/orgs","repos_url":"https://api.github.com/users/petraselmer/repos","events_url":"https://api.github.com/users/petraselmer/events{/privacy}","received_events_url":"https://api.github.com/users/petraselmer/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T09:21:36Z","updated_at":"2015-05-12T09:21:36Z","body":"Hi all\r\n\r\nI just wanted to let you know that the bug fix for this shall be part of the 2.2.2 milestone release, in about a month's time."}}