aribhatt91 / flickrj-android

Automatically exported from code.google.com/p/flickrj-android
Other
0 stars 0 forks source link

Searching for Places defective #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. search for Place with latitude 41.3833 and longitude 2.1833 (Barcelona)
2. PlacesInterface will fail in line 803 
"place.setName(placeElement.getString("_content"));" In the given JSON element 
is no "_content" element.

What version of the product are you using? On what operating system?
Using version 2.0.0 on Windows 64Bit in Java 1.7

Please provide any additional information below.
Maybe it is a solution to use 
"place.setName(placeElement.optString("_content"));"?

Original issue reported on code.google.com by flex.g...@googlemail.com on 16 Nov 2012 at 10:23