Re: [Neo4j] Optional match & property updates don't work together

2014-01-28 Thread Peter Neubauer
Awesome, thanks Jon! /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer Neo4j 2.0.0 - (graphs)-[:FOR]->(everyone) Kids L

Re: [Neo4j] Optional match & property updates don't work together

2014-01-28 Thread Jon Packer
No worries. Added the issue here https://github.com/neo4j/neo4j/issues/1876 Thanks for the help Peter :) Jon On Tuesday, 28 January 2014 13:55:29 UTC+1, Peter Neubauer wrote: > > Hi Jon, > yes, this looks like a bug, could you please file one? have done a gist on > it, see http://gist.neo4j.org

Re: [Neo4j] Optional match & property updates don't work together

2014-01-28 Thread Peter Neubauer
Hi Jon, yes, this looks like a bug, could you please file one? have done a gist on it, see http://gist.neo4j.org/?8667135 /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer Neo4j 2.0.0 - (

[Neo4j] Optional match & property updates don't work together

2014-01-27 Thread Jon Packer
Hi! I'm trying to do some property updates with an OPTIONAL MATCH, and having a bit of trouble. It's OK when the OPTIONAL MATCH's pattern matches something, but when it doesn't, I get a "ThisShouldNotHappenError" with the message "Developer: Stefan claims that: This should be a node or a relat