Skip to content

The apoc.export.cypher.* procedures don't create relationships with start/end node without properties. #13

@neo-technology-build-agent

Description

Issue by vga91
Friday May 13, 2022 at 09:50 GMT
Originally opened as neo4j-contrib/neo4j-apoc-procedures#2886


Expected Behavior (Mandatory)

The relationship should be created.

Actual Behavior (Mandatory)

No relationships created.

Steps (Mandatory)

Create a rel with an end node withoud properties:

create (:Start {a: 1)-[:WORKS_FOR {id: 1}]->(:Project)

Execute this statement:

CALL apoc.export.cypher.all(null, {useOptimizations: { type: 'none'}, cypherFormat: 'create' })

Copy the cypherStatements result from above proc., delete and reimport entities:

CALL apoc.cypher.runMany(<cypherStatements>, {})

No rel. created.

Versions

  • OS: OSX
  • Neo4j: 4.4.5
  • Apoc: 4.4.0.5

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