Which version are you using? > Am 29.01.2015 um 05:28 schrieb Alexepus <[email protected]>: > > When executing below query from web interface or Neo4jClient, Neo4j throws > error: "ThisShouldNotHappenError: Developer: Andres claims that: This should > be a node or a relationship" > > START n=node(104900) > OPTIONAL MATCH (n)-[r]-() > WHERE not (type(r) in ['Dossier', 'Diary']) > OPTIONAL MATCH (n)<-[dossierRel:Dossier]-(dos) > SET n.IsDeleted = true > REMOVE n.IsIndexed > SET r.IsDeleted = true > REMOVE r.IsIndexed > RETURN id(dos) > > If we remove only one statement from this query, DB works as expected: > START n=node(104900) > OPTIONAL MATCH (n)-[r]-() > WHERE not (type(r) in ['Dossier', 'Diary']) > OPTIONAL MATCH (n)<-[dossierRel:Dossier]-(dos) > SET n.IsDeleted = true > REMOVE n.IsIndexed > SET r.IsDeleted = true > RETURN id(dos) > > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>.
-- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
