ForumsDevelopersTask field range
Task field range
Author | Message |
---|---|
wilderwang |
This may be documented elsewhere, but I cannot find it anywhere(including in the forum)
My WP7 application is getting an SerializationException saying "Value was either too large or too small for an Int32." when using http://api.toodledo.com/2/tasks/get.php, so I was wondering the range of each field for the task it return. As for these fields(id, folder, context, duedate, length, modified), are they signed/unsigned 32bit int or 64bit long? My application sync correct for most of the account, but for some account it fail with this exception, so I would like a bit more clarification. Thanks |
Jake Toodledo Founder |
They are all 32 bit unsigned integers.
|
wilderwang |
The network traffic log from my customer indicate the duetime field is not 32bit uint.
{ "id": "66978079", ... "duetime": -62169966000, ... } What's the type of duetime when server output it? Is it wrong with the server? For more information of the log, please contact me by mail. |
Jake Toodledo Founder |
Ok. It seems that if a due-time is set, but a due-date is not, that it returns a crazy negative number instead of 0. Anything negative should be interpreted as 0. I will get this bug fixed.
|
wilderwang |
Thanks for the reply. I'll apply a workaround in the client. Could you notify when this issue is fixed on the server-side?
|
Jake Toodledo Founder |
It will be fixed by the end of tomorrow.
|
You cannot reply yet
U Back to topic home
R Post a reply
To participate in these forums, you must be signed in.