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

Inserting a vertex or an edge with a property of type double by using SET doesn't work #7013

Closed
1 task
tbertels opened this issue Dec 16, 2016 · 1 comment
Closed
1 task
Assignees
Labels
Milestone

Comments

@tbertels
Copy link

tbertels commented Dec 16, 2016

OrientDB Version, operating system, or hardware.

v. 2.2.13

Operating System

  • Windows

Expected behavior and actual behavior

Error:
java.lang.IllegalArgumentException: Property value can not be null

Steps to reproduce the problem

CREATE EDGE E FROM #21:20 TO #21:22 SET factor = 1e-06
Error:
java.lang.IllegalArgumentException: Property value can not be null

CREATE VERTEX V SET factor = 1e-06
-> factor has no value

With the json syntax, it works:

CREATE VERTEX V CONTENT { "factor" : 1E-06 }
CREATE EDGE E FROM #21:20 TO #21:22  CONTENT {  "factor" : 1E-06 }

Note that this means that OrientDB-NET.binary doesn't work either since it doesn't use the json syntax.

@luigidellaquila luigidellaquila self-assigned this Dec 21, 2016
@lvca lvca added the bug label Dec 27, 2016
@lvca lvca added this to the 2.2.x (next hotfix) milestone Dec 27, 2016
luigidellaquila added a commit that referenced this issue Dec 28, 2016
@luigidellaquila
Copy link
Member

Hi @tbertels

Fixed in branch 2.2.x, the fix will be released with 2.2.15.

It was a general problem related to parsing of numbers in scientific notation, not limited to CREATE EDGE

Thanks

Luigi

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

4 participants