Web API Debug

9 views
Skip to first unread message

Emiliano

unread,
Feb 18, 2015, 9:24:19 AM2/18/15
to openlega...@googlegroups.com
How to debug the server side of a web call ? Cant find the REST controller running on the server :-)

I want to try to understand how 1000 become 1.000

Roi Mor

unread,
Feb 18, 2015, 9:34:32 AM2/18/15
to openlega...@googlegroups.com
Hi Emiliano,

You can't find it as it is packed within a JAR file :)
It's quite complex and time consuming to debug and understand the infrastructure code.

We consider such a data conversion problem as a severe bug of data integrity.
From the screen shot you sent yesterday it seems, that some fields converted to Integer are left empty as they double, and it probably failed to convert. You should see errors in the log.
We need to add support for double in tables, but for readonly in most use cases, it's not ciritical as JSON is not type safe.

If this is a different use case, please send the app, with a matching trail and specify the problematic screen.

Thanks,
Roi

Emiliano

unread,
Feb 18, 2015, 9:55:26 AM2/18/15
to openlega...@googlegroups.com
Ok for debugging.

The use case is the same posted in another thread: value Greater than 999 are returned from the server with a point that in Javascript is the decimal separator.
Reply all
Reply to author
Forward
0 new messages