{"action":"opened","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/4526","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/4526/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/4526/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/4526/events","html_url":"https://github.com/neo4j/neo4j/issues/4526","id":70853476,"number":4526,"title":"Cypher Parser bug: do not allow to get property of node in collection","user":{"login":"garmoshka-mo","id":2452269,"avatar_url":"https://avatars.githubusercontent.com/u/2452269?v=3","gravatar_id":"","url":"https://api.github.com/users/garmoshka-mo","html_url":"https://github.com/garmoshka-mo","followers_url":"https://api.github.com/users/garmoshka-mo/followers","following_url":"https://api.github.com/users/garmoshka-mo/following{/other_user}","gists_url":"https://api.github.com/users/garmoshka-mo/gists{/gist_id}","starred_url":"https://api.github.com/users/garmoshka-mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garmoshka-mo/subscriptions","organizations_url":"https://api.github.com/users/garmoshka-mo/orgs","repos_url":"https://api.github.com/users/garmoshka-mo/repos","events_url":"https://api.github.com/users/garmoshka-mo/events{/privacy}","received_events_url":"https://api.github.com/users/garmoshka-mo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-25T04:52:48Z","updated_at":"2015-04-25T04:52:48Z","closed_at":null,"body":"`relationships(path)[1].index` says:\r\n\r\n```\r\nInvalid input '.': expected whitespace, '[', \"=~\", IN, IS, '^', '*', '/', '%', '+', '-', '<', '>', \"<=\", \">=\", '=', \"<>\", \"!=\", AND, XOR, OR, AS, ',', Order, Skip, Limit, LOAD CSV, START, MATCH, UNWIND, MERGE, CREATE, SET, DELETE, REMOVE, FOREACH, WITH, RETURN, UNION, ';' or end of input \r\n```\r\n\r\nWorkaround is ugly as hell:  `[r IN [relationships(path)[1]] | r.index][0]`"}}