ckrintz / appscale

Automatically exported from code.google.com/p/appscale
0 stars 0 forks source link

Get by keyname acts differently in SDK than in AppScale #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If the user attempts the following:

foo = Bar(key_name = 'baz')

If the item with the specified key doesn't exist, what happens in the SDK
differs from what happens in AppScale.

In the SDK, an EntityNotFound exception is thrown and caught.
In AppScale, an entity list of size zero is returned, causing the AppServer
to fail on a later line asserting that the entity list must be one.

Fixed, will be in next release. Need to verify that this is fixed in the
Java SDK as well.

Original issue reported on code.google.com by shattere...@gmail.com on 7 Jan 2010 at 7:36

GoogleCodeExporter commented 9 years ago
Fixed, will be in next release.

Original comment by shattere...@gmail.com on 31 Mar 2010 at 6:33