Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Problem with very large numeric values (bigint) - Smartgwt Power 4.1

$
0
0
SmartClient Version: v9.1p_2015-05-06/PowerEdition Deployment (built 2015-05-06).
GWT version 2.6.
Tested on Firefox 24.7.0 and newer.

I used nightly build from 6 may 2015 to test it.

We use Power Edition.

Problem occurred with databound ListGrid (SQLDataSource) with very large integer values (bigint, biginteger etc). They seem to be erroneously displayed and wrong values are returned by Listgrid itself.
We have client with id '999000000359429200' and it's wrongly displayed and than returned in client-side code as different value (we have custom fetches on this primary key value). The same happens for other large values. Since it's clients legacy database there is nothing we can do about thouse values.

Problem occurred on ListGrid databound to postgresql 9.4 and mssql via SQLDataSource, but as a test case you can check showcase "Edit by cell":
http://www.smartclient.com/smartgwt/...d_editing_cell

If you put value '999000000359429200' into "Population" it will be displayed as '999000000359429248'.

Viewing all articles
Browse latest Browse all 4756

Trending Articles