No info about an error if it happens in a method for writing data to a database on server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openerp-mobile |
New
|
Undecided
|
Unassigned |
Bug Description
I used commit 159.[Merge]. I tried methods "insert", "update", "delete" for writing data to a database on server. For each method I disconnected a device from internet so that an exception "http refused" arised but code which called "insert", "update", "delete" didn't received info about that exception. These methods worked so:
1) "insert": code received an exception "null pointer exception"
2)"update": code received a boolean value false, indicating that update was unsuccseful, but no exception
3)"delete": code didn't received any info about success or failure of a method.
It is important to receive exact info about a reason of failure and the "delete" method should return at least info about success or failure