skallin / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
0 stars 0 forks source link

Endpoints Example on dev app server web-side throws error when listing devices with App Engine 1.8.0 #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Appengine SDK 1.8.0 to generate a appengine connected android app
2. Launch the Appengine side on the local dev app server
3. goto localhost:port

What is the expected output? What do you see instead?
list of registered devices, instead I see error.

What version of the product are you using? On what operating system?

Please provide any additional information below.

The issue here is that the dev app server doesn't take null argument for an 
endpoints call.  The workaround is to add an empty map to the call:
gapi.client.deviceinfoendpoint.listDeviceInfo()

so that it looks like this :
gapi.client.deviceinfoendpoint.listDeviceInfo({})

Original issue reported on code.google.com by a...@google.com on 16 May 2013 at 6:33

GoogleCodeExporter commented 9 years ago
Nabila - can you land this fix to the generated sample in GPE?

Original comment by rdayal@google.com on 28 May 2013 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by rdayal@google.com on 28 May 2013 at 8:07

GoogleCodeExporter commented 9 years ago
Fix already done by Appu. I verified that it works.

Original comment by nbashirb...@google.com on 29 May 2013 at 7:02