Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#25693 - [RPC] numeric fields should be numeric types in the reply JSON
Attached to Project:
AUR web interface
Opened by Dave Reisner (falconindy) - Saturday, 20 August 2011, 22:45 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 04 November 2012, 11:45 GMT
Opened by Dave Reisner (falconindy) - Saturday, 20 August 2011, 22:45 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 04 November 2012, 11:45 GMT
|
DetailsWe've got 3 fields in the JSON reply that will never contain anything but numeric data: ID, FirstSubmitted, and LastModified. However, these are serialized as string types, forcing front ends to do conversion and validation. These should be packed as number types.
Yes, this breaks API. I wants it. My precioussss.... related gripe: Also, I can't assign this to 'reported version=1.9.0'. |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Sunday, 04 November 2012, 11:45 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 2.0.0.
Sunday, 04 November 2012, 11:45 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 2.0.0.
[1] http://projects.archlinux.org/aur.git/commit/?id=795971bc806776ad48de6f0135736cbaaefa5fcd