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

Undoing changes when loading nodes #1

Open
Chique80 opened this issue Oct 11, 2021 · 0 comments
Open

Undoing changes when loading nodes #1

Chique80 opened this issue Oct 11, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Chique80
Copy link

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.

@vnikitch vnikitch added the bug Something isn't working label Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants