Showing results for 
Search instead for 
Did you mean: 

Movies graph displays "year" value incorrectly as "[object Object]"

Node Clone

I created a new graph in Neo4J Desktop and loaded the built-in movies database. I executed some of the provided Cypher queries, and it looks like the year property values like released and born are sometimes shown as [object Object] instead of a numeric value.

One such query where I noticed this was -

MATCH p=shortestPath(
  (bacon:Person {name:"Kevin Bacon"})-[*]-(meg:Person {name:"Meg Ryan"})

Screenshot -

Please provide the following information if you ran into a more serious issue:

  • neo4j version, desktop version, browser version: 3.5.2, 1.1.13, 3.2.15

Node Clone

I am also seeing this with:

Neo4j Browser version: 3.2.16
Neo4j Server version: 3.5.3 (community)

using a custom data set.

The particular property of a particular node label is displayed as [object Object]. I haven't been able to fully characterize this yet, but it seems to happen more often if you have a path variable defined.

Any insight or tips as to what might be going on? Would a simple update to the latest version of neo4j solve this?

Looks like this was fixed in browser version 3.2.17:

  • Fix [object Object] for integers in viz for PathSegments PR: #897

Newer versions of Neo4j include newer browser versions, and we would encourage you to update to 3.5.8 or higher anyway, if possible.