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

Running Transations is broken when used as documented #336

Open
salzig opened this issue Jan 9, 2020 · 0 comments
Open

Running Transations is broken when used as documented #336

salzig opened this issue Jan 9, 2020 · 0 comments

Comments

@salzig
Copy link

salzig commented Jan 9, 2020

Running a transaction as described by https://github.com/neo4jrb/neo4j-core/wiki/Transaction seems
to be broken.

Code example (inline, gist, or repo)

# session already open
Neo4j::Transaction.run do
end

will result in ArgumentError: Too few arguments thrown in neo4j-core-9.0.0/lib/neo4j/transaction.rb:148.

influenced by the source of transaction.rb#run it then tried the following

# session already open
Neo4j::Transaction.new.run do
end

which then results in NameError: uninitialized constant Neo4j::Transaction::Session thrown in neo4j-core-9.0.0/lib/neo4j/transaction.rb:120.

Runtime information:

Neo4j database version:
neo4j gem version: 9.6.0
neo4j-core gem version: 9.0.0

@salzig salzig changed the title Running Transations Running Transations is broken when used as documented Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant