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

db create exists error (http api) return content not a json #7244

Closed
creisle opened this issue Mar 16, 2017 · 2 comments
Closed

db create exists error (http api) return content not a json #7244

creisle opened this issue Mar 16, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@creisle
Copy link

creisle commented Mar 16, 2017

OrientDB Version: 2.2.17, 2.2.11 (community edition)

Java Version: 1.7.0_91

OS: centos6

Expected behavior

I expected it to return something that could be decoded into a json like all the other error returns i've encountered so far

Actual behavior

but I got just a string. is this expected behaviour? why is the db create error different than all the others
Database 'plocal:/home/creisle/applications/orientdb-community-2.2.17/databases/test' already exists.

Steps to reproduce

start up orientdb server and sent post request to create the test database
http://10.9.202.242:2480/database/test/plocal/graph

send it again to get the error

@wolf4ood
Copy link
Member

hi @creisle

thanks for this issue. It's not an expected behaviour.
Let me work on a fix
Thanks

@wolf4ood wolf4ood self-assigned this Mar 16, 2017
@wolf4ood wolf4ood added the bug label Mar 16, 2017
wolf4ood added a commit that referenced this issue Mar 28, 2017
@wolf4ood wolf4ood added this to the 2.2.18 milestone Mar 28, 2017
wolf4ood added a commit that referenced this issue Mar 28, 2017
@wolf4ood
Copy link
Member

hi @creisle

i've fixed this.
It will be available on OrientDB 2.2.18

Thanks

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

No branches or pull requests

2 participants