Skip to content

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

@peresbruno

Description

@peresbruno

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions