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

Unable to set nested parameters through the neo4j browser 3.0.5 #645

Closed
peresbruno opened this issue Sep 15, 2017 · 6 comments · Fixed by #843
Closed

Unable to set nested parameters through the neo4j browser 3.0.5 #645

peresbruno opened this issue Sep 15, 2017 · 6 comments · Fixed by #843

Comments

@peresbruno
Copy link

peresbruno commented Sep 15, 2017

Description

When trying to set the following parameters in Neo4j Browser 3.0.5

:params {"uidLeft": "asdf1", "uidRight": "asdf2", "type": "KNOWS", props:{uid:"rel1"}}

I'm getting this error:

Could not parse input. Usage: :param "x": 2. SyntaxError: Expected ",", "}" or key but "{" found.

Reproduce Steps

  1. Open Neo4j-Browser 3.0.5
  2. Run the following command:
    :params {"uidLeft": "asdf1", "uidRight": "asdf2", "type": "KNOWS", props:{uid:"rel1"}}

Expected Behavior

Parameters should be set as specified in the above command.

Current Behavior

Parameters are not set and an error message is shown.

captura de tela 2017-09-15 as 16 14 31

Your Environment

software name version
OS macOS Sierra 10.12.6
Web browser Google Chrome 60.0.3112.113 64 bits
Neo4j Browser 3.0.5
Neo4j 3.2.2 and 3.2.3

Additional Information

  • Running Neo4j into Docker containers
  • Works fine in Neo4j 3.2.1 and Neo4j Browser 3.0.4
  • Works in Neo4j Browser 3.0.5 when outer parenthesis are removed: :params "uidLeft": "asdf1", "uidRight": "asdf2", "type": "KNOWS", props:{uid:"rel1"}
  • BUT the above command (without outer parenthesis) not work in Neo4j Browser 3.0.4 (parameter are not set without error message)
  • Issue from this SO question
@oskarhane
Copy link
Member

Thanks for the report. It sure sounds like a bug somewhere.

@DeltaBravo
Copy link

DeltaBravo commented Dec 25, 2017

Still broken as of Neo4j Browser version 3.1.4.

@harrypunk
Copy link

Same problem with version 3.0.11

@jacobgunnarsson
Copy link

And as of 3.3.3

@oskarhane
Copy link
Member

Yes, we have a card for this and will get to it. The workaround is to skip the outer curly brackets.

:params "uidLeft": "asdf1", "uidRight": "asdf2", "type": "KNOWS", props:{uid:"rel1"}

@ImanMousavi
Copy link

it worked in 3.1.7

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

Successfully merging a pull request may close this issue.

6 participants