traccar-client-android icon indicating copy to clipboard operation
traccar-client-android copied to clipboard

Send null instead of zero for missing data

Open oliv3 opened this issue 7 years ago • 7 comments

Client sends erroneous data to the server, when it should not, and could decide not to do so.

oliv3 avatar Sep 02 '18 22:09 oliv3

What erroneous data are you talking about?

tananaev avatar Sep 02 '18 22:09 tananaev

The data it might not be aware of (accuracy, altitude, course, speed).

oliv3 avatar Sep 02 '18 22:09 oliv3

Can you please not use hyperbolic language like "erroneous". It was designed to work this way, so it's not a bug or an error. I agree that it can be improved, but there is no need to try and exaggerate things. This is not the first time you do it. It doesn't help the case.

tananaev avatar Sep 02 '18 22:09 tananaev

Sure. Would "needless" be not too offensive to you ? I'm open to another wording.

oliv3 avatar Sep 02 '18 22:09 oliv3

Or "improve data sent to the server" ? I don't know, your call.

oliv3 avatar Sep 02 '18 22:09 oliv3

Just call it what it really is. Send null instead of zero for missing data, or something like that.

tananaev avatar Sep 02 '18 23:09 tananaev

So be it !

oliv3 avatar Sep 02 '18 23:09 oliv3