objectbox / objectbox-java

Android Database - first and fast, lightweight on-device vector database
https://objectbox.io
Apache License 2.0
4.4k stars 302 forks source link

Browser show db content have a bug 。 A long content #500

Closed Lxingzhi closed 6 years ago

Lxingzhi commented 6 years ago

Issue Basics

Description

eg: objectboxbug

greenrobot-team commented 6 years ago

Thanks for reporting.

Can reproduce using our note example. -ut

greenrobot-team commented 6 years ago

Also, when trying to filter for a large value the API returns {error: {code: 500, message: "stol: out of range"}}.

edit: OK, the error occurs if the value exceeds 2^31-1 (Java Integer.MAX_VALUE, 2147483647). -ut

greenrobot-team commented 6 years ago

Just to give an update on this (working on this internally):

-ut

greenrobot-team commented 6 years ago

The display bug was fixed internally (by sending non-floating point 64-bit numbers as JSON String). This should be available with the next update. -ut

Lxingzhi commented 6 years ago

@greenrobot-team Thank you for your answer