{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/5337","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/5337/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/5337/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/5337/events","html_url":"https://github.com/neo4j/neo4j/issues/5337","id":105990791,"number":5337,"title":"str() is not safe for use on strings","user":{"login":"mmmmmrob","id":131297,"avatar_url":"https://avatars.githubusercontent.com/u/131297?v=3","gravatar_id":"","url":"https://api.github.com/users/mmmmmrob","html_url":"https://github.com/mmmmmrob","followers_url":"https://api.github.com/users/mmmmmrob/followers","following_url":"https://api.github.com/users/mmmmmrob/following{/other_user}","gists_url":"https://api.github.com/users/mmmmmrob/gists{/gist_id}","starred_url":"https://api.github.com/users/mmmmmrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmmmmrob/subscriptions","organizations_url":"https://api.github.com/users/mmmmmrob/orgs","repos_url":"https://api.github.com/users/mmmmmrob/repos","events_url":"https://api.github.com/users/mmmmmrob/events{/privacy}","received_events_url":"https://api.github.com/users/mmmmmrob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-11T11:17:42Z","updated_at":"2015-09-11T11:58:12Z","closed_at":null,"body":"RETURN str(1)+str(2) // returns 12\r\nRETURN str('1')+str('2') // returns \"1\"\"2\"\r\nRETURN str(str(str('foo'))) // returns \"\"\"foo\"\"\"\r\nRETURN str('foo') = 'foo' // returns false\r\n\r\nstr(string) currently changes the string value by surrounding it in quotes.\r\n\r\nFor situations where string concatenation, or regex, is used against a property value that may be null, string or number it would be desirable for str(string) to simple return the string value unaltered."},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/139528454","html_url":"https://github.com/neo4j/neo4j/issues/5337#issuecomment-139528454","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/5337","id":139528454,"user":{"login":"jexp","id":67427,"avatar_url":"https://avatars.githubusercontent.com/u/67427?v=3","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":"2015-09-11T11:58:12Z","updated_at":"2015-09-11T11:58:12Z","body":"Hi @mmmmmrob yes, `str()` is weird and will go away, have you tried `toString()` ?"}}