{"action":"created","issue":{"url":"https://api.github.com/repos/graphaware/neo4j-php-client/issues/40","repository_url":"https://api.github.com/repos/graphaware/neo4j-php-client","labels_url":"https://api.github.com/repos/graphaware/neo4j-php-client/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/graphaware/neo4j-php-client/issues/40/comments","events_url":"https://api.github.com/repos/graphaware/neo4j-php-client/issues/40/events","html_url":"https://github.com/graphaware/neo4j-php-client/issues/40","id":158468701,"number":40,"title":"Relationships aren't created with nodes with specific label spellings","user":{"login":"mattfiocca","id":3922153,"avatar_url":"https://avatars.githubusercontent.com/u/3922153?v=3","gravatar_id":"","url":"https://api.github.com/users/mattfiocca","html_url":"https://github.com/mattfiocca","followers_url":"https://api.github.com/users/mattfiocca/followers","following_url":"https://api.github.com/users/mattfiocca/following{/other_user}","gists_url":"https://api.github.com/users/mattfiocca/gists{/gist_id}","starred_url":"https://api.github.com/users/mattfiocca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattfiocca/subscriptions","organizations_url":"https://api.github.com/users/mattfiocca/orgs","repos_url":"https://api.github.com/users/mattfiocca/repos","events_url":"https://api.github.com/users/mattfiocca/events{/privacy}","received_events_url":"https://api.github.com/users/mattfiocca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graphaware/neo4j-php-client/labels/verified-non-bug","name":"verified-non-bug","color":"e99695"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-03T22:47:52Z","updated_at":"2016-06-05T21:10:50Z","closed_at":null,"body":"This is totally weird, and I have no doubt this might be my setup, but take the following query:\r\n\r\n\t$result = $this->run(\"\r\n\t\tMATCH (s:BRIEF {id:{brief_id}})\r\n\t\tCREATE (n:BRIEFNOTECARD)\r\n\t\tSET n += {data}\r\n\t\tCREATE (n)-[:CARD_OF {order:0}]->(s)\r\n\t\tRETURN n\r\n\t\", [ 'data' => $data, 'brief_id' => $brief_id ] );\r\n\r\nUsing the php client, I get a match on `BRIEF`, then create a new `BRIEFNOTECARD`, then attempt to create a relationship on those nodes, `:CARD_OF`. The match is working on `BRIEF`, and the `BRIEFNOTECARD` is being created, but the relationship edge is just not being created. \r\n\r\nHere's the weird part, when i change the spelling of the label on the new node to something like `BRIEFNOTECART` (just changing the last letter), everything works as expected.\r\n\r\nex:\r\n\r\n\t$result = $this->run(\"\r\n\t\tMATCH (s:BRIEF {id:{brief_id}})\r\n\t\tCREATE (n:BRIEFNOTECART)\r\n\t\tSET n += {data}\r\n\t\tCREATE (n)-[:CARD_OF {order:0}]->(s)\r\n\t\tRETURN n\r\n\t\", [ 'data' => $data, 'brief_id' => $brief_id ] );\r\n\r\nThe new node is both created and attached to the `BRIEF`. I thought maybe it was something with the letter `D` at the end, and tried a different word that ended with that, and everything was created correctly. I also tried replacing a random letter like the F in BRIEF with an S to spell `BRIESNOTECARD`, and that also works. Its just anytime the literal `BRIEFNOTECARD` exactly is used as a label in my case, that the edge isn't created.\r\n\r\nI'm losing my mind.\r\n\r\nAlso, using the neo web browser, the queries work just fine in all cases. My issue is specific to this php library. \r\n\r\nStrange, right?\r\n\r\n**UPDATE**\r\n\r\nUsing the label `BRIEFCARD` also fails to produce an edge creation, where something like `BRIEFTHING` works.. "},"comment":{"url":"https://api.github.com/repos/graphaware/neo4j-php-client/issues/comments/223837889","html_url":"https://github.com/graphaware/neo4j-php-client/issues/40#issuecomment-223837889","issue_url":"https://api.github.com/repos/graphaware/neo4j-php-client/issues/40","id":223837889,"user":{"login":"ikwattro","id":1222009,"avatar_url":"https://avatars.githubusercontent.com/u/1222009?v=3","gravatar_id":"","url":"https://api.github.com/users/ikwattro","html_url":"https://github.com/ikwattro","followers_url":"https://api.github.com/users/ikwattro/followers","following_url":"https://api.github.com/users/ikwattro/following{/other_user}","gists_url":"https://api.github.com/users/ikwattro/gists{/gist_id}","starred_url":"https://api.github.com/users/ikwattro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikwattro/subscriptions","organizations_url":"https://api.github.com/users/ikwattro/orgs","repos_url":"https://api.github.com/users/ikwattro/repos","events_url":"https://api.github.com/users/ikwattro/events{/privacy}","received_events_url":"https://api.github.com/users/ikwattro/received_events","type":"User","site_admin":false},"created_at":"2016-06-05T21:10:50Z","updated_at":"2016-06-05T21:10:50Z","body":"@mattfiocca any update on this ?"}}
{"actor":{"display_login":"ikwattro"}}