Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Expected a parameter named layer #20

Open
pmackay opened this issue Jul 25, 2017 · 0 comments
Open

Error: Expected a parameter named layer #20

pmackay opened this issue Jul 25, 2017 · 0 comments

Comments

@pmackay
Copy link

pmackay commented Jul 25, 2017

This exception is happening when I call ActiveNode::Spatial.withinDistance:

Neo4j::Core::CypherSession::CypherError (  Cypher error:
  Neo.ClientError.Statement.ParameterMissing: Expected a parameter named layer
):

I checked inside lib/neo4j/active_node/spatial.rb and the within_distance distance scope is defining the layer name with this line:

layer = model.spatial_layer.name || layer_name

So I'm not sure why the call to Neo4j::ActiveBase.current_session.within_distance would fail.

I am using Neo4j 3.1.4 and neo4j-spatial-0.24-neo4j-3.1.1-server-plugin.

@TyGuy any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant