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

toJSON() method seems broken in 3.0.1 #8304

Closed
kahlkevin opened this issue Jun 4, 2018 · 2 comments
Closed

toJSON() method seems broken in 3.0.1 #8304

kahlkevin opened this issue Jun 4, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@kahlkevin
Copy link

OrientDB Version: 3.0.1 Community Edition / May 18th, 2018

Java Version: 8 / jdk1.8.0_161

OS: Windows 10 / 64-bit

Expected behavior

Running SELECT @this.toJSON('prettyPrint') FROM Hotels WHERE Id = 1 against demodb should return a valid JSON document.

Actual behavior

null result is returned.

Steps to reproduce

  1. Attach to demodb database using Studio or Console.
  2. Execute SQL query detailed above.
  3. Note empty results.
  4. Consult the 'Raw' tab in Studio and note null value in result object.
@luigidellaquila
Copy link
Member

Hi @kahlkevin

Thank you for reporting, I'm checking it now

Thanks

Luigi

@luigidellaquila luigidellaquila self-assigned this Jun 4, 2018
@luigidellaquila luigidellaquila added this to the 3.0.x milestone Jun 4, 2018
@luigidellaquila
Copy link
Member

Hi @kahlkevin

I just pushed a fix, it will be released with 3.0.2

The snapshot will be available on Sonatype servers in a few minutes

Thanks

Luigi

@luigidellaquila luigidellaquila modified the milestones: 3.0.x, 3.0.2 Jun 4, 2018
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