We have a document that contains a double field "SiblingPosition" that is initialized to 1.0
Loading this document through the API, doing nothing, and calling SaveChanges() correctly does not trigger a change and the BeforeSave() listener is not called.
If we go to the document in the raven html5 studio and make a manual edit to an unrelated field (i.e. CreatedUser) and save this appears to set SiblingPosition as type Integer.
When we repeat the load, do nothing, call SaveChanges() the BeforeSave() listener is fired.
I looked further with the WhatChanged() function and indeed the SiblingPosition field is flagged as a 'FieldChanged' change with OldType=Integer and NewType=Float.
The field is loaded in the studio editor as just '1' and the above behavior still reproduces if I save it as '1.0' as well, it is converted back to '1.'
If I save it as '1.1' in the studio however, it is properly stored as Float.
This appears to be a bug in the parsing in the studio editor?