Closed
Bug 470581
Opened 16 years ago
Closed 16 years ago
Server returns modified timestamps as strings
Categories
(Cloud Services :: General, defect)
Cloud Services
General
Tracking
(Not tracked)
RESOLVED
FIXED
0.3
People
(Reporter: hello, Unassigned)
References
Details
Here's a sample record from the server (formatting added):
[{"id":"cd6db6bd-add8-cf40-a6bf-10d40da2c63d",
"modified":"1229735510074",
"payload":"{\"encryption\":\"https:\/\/63.245.209.84\/weave\/0.3\/thunder2\/crypto\/history\",\"ciphertext\":\"QtZGmRT1EZSBGg2oFL8fHJIsQX5kht3xoeFH2ZLnbbYCnEbg1mlrzAatol0IBcSVIN6urxHtiRPgurGZ8xuJzE++2yujaDBwzKuEKaUCxUPwdtEb962CPxWkcoEHF2OHEIlORDvUKoF1B0iXZza0FX8hLQ14Fb78NBZEfSeHJ59cqINjo97bVRy0xzjN497d\"}"
}]
Note that modified is a string instead of a number. This is causing comparisons on the client to fail.
Comment 1•16 years ago
|
||
Weird. At some point we must have decided to go the other way, as I had explicit string casts in the code. It also comes out of the database as a string, so I need an explicit float cast there.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Component: Weave → General
Product: Mozilla Labs → Weave
Updated•16 years ago
|
QA Contact: weave → general
You need to log in
before you can comment on or make changes to this bug.
Description
•