{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/883","repository_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures","labels_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/883/labels{/name}","comments_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/883/comments","events_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/883/events","html_url":"https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/883","id":350322522,"node_id":"MDU6SXNzdWUzNTAzMjI1MjI=","number":883,"title":"apoc.map.fromPairs does not work","user":{"login":"kuczera","id":10571362,"node_id":"MDQ6VXNlcjEwNTcxMzYy","avatar_url":"https://avatars0.githubusercontent.com/u/10571362?v=4","gravatar_id":"","url":"https://api.github.com/users/kuczera","html_url":"https://github.com/kuczera","followers_url":"https://api.github.com/users/kuczera/followers","following_url":"https://api.github.com/users/kuczera/following{/other_user}","gists_url":"https://api.github.com/users/kuczera/gists{/gist_id}","starred_url":"https://api.github.com/users/kuczera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuczera/subscriptions","organizations_url":"https://api.github.com/users/kuczera/orgs","repos_url":"https://api.github.com/users/kuczera/repos","events_url":"https://api.github.com/users/kuczera/events{/privacy}","received_events_url":"https://api.github.com/users/kuczera/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-14T08:07:50Z","updated_at":"2018-08-15T15:41:52Z","closed_at":"2018-08-14T08:46:50Z","author_association":"NONE","body":"When i try this query in my neo4j 3.4.5 DB with apoc properly installed:\r\n\r\n`\r\ncall apoc.load.xml(\"https://raw.githubusercontent.com/kuczera/Graphentechnologien/master/docs/data/books.xml\", '/catalog/book') yield value as catalog\r\nUNWIND catalog._children as book\r\nWITH book.id as id, [attr IN book._children WHERE attr._type IN ['author','title'] | [attr._type, attr._text]] as pairs\r\nCALL apoc.map.fromPairs(pairs) yield value\r\nRETURN id, value.author, value.title\r\n`\r\n\r\ni get an error:\r\n\r\n> Neo.ClientError.Procedure.ProcedureNotFound: There is no procedure with the name `apoc.map.fromPairs` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.\r\n\r\nbut apoc is properly installed when i run \r\n\r\n> CALL dbms.functions()"},"comment":{"url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/comments/413239007","html_url":"https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/883#issuecomment-413239007","issue_url":"https://api.github.com/repos/neo4j-contrib/neo4j-apoc-procedures/issues/883","id":413239007,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzIzOTAwNw==","user":{"login":"jexp","id":67427,"node_id":"MDQ6VXNlcjY3NDI3","avatar_url":"https://avatars1.githubusercontent.com/u/67427?v=4","gravatar_id":"","url":"https://api.github.com/users/jexp","html_url":"https://github.com/jexp","followers_url":"https://api.github.com/users/jexp/followers","following_url":"https://api.github.com/users/jexp/following{/other_user}","gists_url":"https://api.github.com/users/jexp/gists{/gist_id}","starred_url":"https://api.github.com/users/jexp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jexp/subscriptions","organizations_url":"https://api.github.com/users/jexp/orgs","repos_url":"https://api.github.com/users/jexp/repos","events_url":"https://api.github.com/users/jexp/events{/privacy}","received_events_url":"https://api.github.com/users/jexp/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T15:41:52Z","updated_at":"2018-08-15T15:41:52Z","author_association":"MEMBER","body":"Looks like a clear sign that the query is wrong :)"}}
{"actor":{"display_login":"jexp"}}