Closed Infiniverse closed 8 years ago
they already noticed that, see #139
I believe this is fixed by https://github.com/neo4j-contrib/spatial/commit/f24ef823c87721831e2d4a3273fe01eacb802ff6. I will close this issue, but if you have other failing tests, feel free to re-open with more details. My own fix does include a test case which failed before the fix and passes now.
Thanks Craig - we appreciate your effort on this. ++owedbeer.
I made a release of 0.15-neo4j-2.3 for 2.3.4 that includes this fix. It can be downloaded from https://github.com/neo4j-contrib/m2/blob/master/releases/org/neo4j/neo4j-spatial/0.15-neo4j-2.3.4/neo4j-spatial-0.15-neo4j-2.3.4-server-plugin.zip?raw=true
In
LayerNodeIndex
we add a node as follows:When it's subsequently deleted it happens like this:
This fails because
node
isn't aSpatialDatabaseRecord
, so the exception is thrown and the spatial description of the node isn't removed from the RTree.Ought it not to say:
idLookup.remove(findExistingNode(node));