Skip to content

Undoing changes when loading nodes #1

@Chique80

Description

@Chique80

Loading a node undoes any unsaved changes on that node.
For exemple, let's say that there is a node with attribut "A" and "B" (both at 0) in the database. We execute the following code.

node1 = GraphManager.load(...)
node1.putProperty("A",1)

node2 = GraphManager.load(...)
node2.putProperty("B",1)

GraphManager.saveChanges()

After the execution, the attribut of "B" in the database is 1, but "A" is still at 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions