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

Double '0.0' gets converted to Int32 '0' after editing #1069

Closed
gvdelst opened this Issue Apr 1, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@gvdelst

gvdelst commented Apr 1, 2016

Using 0.9.0-RC7 with a Mongo 3.0.7 DB I insert the following document by using the "Insert Document" from right click on collection name.

{ "uuid" : "my-uuid", "test" : 0.2, "test2" : 0.0 }

Then I click on "Edit document", decide not to change anything and notice that "0.0" gets converted to "0" (integer instead of double). After pressing Save the value is converted to Int32 type instead of Double type.
References : #622 #628 #429

1 after_insert
2 edit_document
3 after_update__double_replaced_by_int32

@anorsich

This comment has been minimized.

Show comment
Hide comment
@anorsich

anorsich Apr 1, 2016

Contributor

@gvdelst Thanks for reporting this issue! Looks like it were missed during our testing phase. We will work on it and get back to you as soon as it fixed.

Contributor

anorsich commented Apr 1, 2016

@gvdelst Thanks for reporting this issue! Looks like it were missed during our testing phase. We will work on it and get back to you as soon as it fixed.

@anorsich

This comment has been minimized.

Show comment
Hide comment
@anorsich

anorsich Apr 15, 2016

Contributor

@yonatang The issue has been fixed in the latest 0.9.0 RC8 release. There are a lot more notable things in this release and you can read more about it here. Let us know if it worked for you!

Contributor

anorsich commented Apr 15, 2016

@yonatang The issue has been fixed in the latest 0.9.0 RC8 release. There are a lot more notable things in this release and you can read more about it here. Let us know if it worked for you!

@anorsich anorsich closed this Apr 15, 2016

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