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

Create Edge query command hangs with lightweight edges #395

Closed
tomscreen opened this issue Oct 17, 2019 · 2 comments
Closed

Create Edge query command hangs with lightweight edges #395

tomscreen opened this issue Oct 17, 2019 · 2 comments
Assignees
Milestone

Comments

@tomscreen
Copy link

Using version 3.0.7 of orientjs library to interact with version 3.0.23 of OrientDB.

Problem manifests as a "hung promise" when executing a 'create edge' query on a session against the database. e.g.... (code for illustration)

let query = CREATE EDGE rel FROM #57:0 to #49:0 return session.command(query).all().then(function(res) { ... })

The code never gets into the next 'then' function.

Problem only occurs when database is set to use lightweight edges.

@wolf4ood
Copy link
Member

Hi @tomscreen

i've managed to reproduce it and identify the issue.

I'm working on a fix. Thanks

@wolf4ood wolf4ood self-assigned this Oct 18, 2019
@wolf4ood wolf4ood added the bug label Oct 18, 2019
wolf4ood added a commit that referenced this issue Oct 30, 2019
@wolf4ood wolf4ood added this to the 3.0.8 milestone Oct 30, 2019
@wolf4ood
Copy link
Member

Hi @tomscreen

i've just pushed a fix. It will be available in the next release of OrientJS

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants