Last modified: 2012-06-10 21:00:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39421, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37421 - 'lat' and 'lon' are sent as strings in JSON output, should probably be numbers
'lat' and 'lon' are sent as strings in JSON output, should probably be numbers
Status: RESOLVED FIXED
Product: Wiki Loves Monuments
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-09 15:14 UTC by Maarten Dammers
Modified: 2012-06-10 21:00 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Maarten Dammers 2012-06-09 15:14:55 UTC
At the moment lat/lon are strings at http://toolserver.org/~erfgoed/api/api.php?action=search&format=json

Interaction between php and Mysql seems to cause this. Should probably be an explicit cast.
Comment 1 Maarten Dammers 2012-06-10 21:00:00 UTC
Fixed by Joan Creus in r691. We now have correct output at http://toolserver.org/~erfgoed/api/api.php?action=search&format=json

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links