google-code-export / appengine-jruby

Automatically exported from code.google.com/p/appengine-jruby
0 stars 0 forks source link

EnityNotFound #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was trying to use a "transaction do stuff_in_here end" in ruby to create
a guaranteed unique key as mentioned in the second example of "Uses for
transactions" on
http://code.google.com/appengine/docs/java/datastore/transactions.html. It
basically starts a transaction, gets at a particular key, and then creates
with said key if a "key not found exception" is returned.

When I get a key that does not exist, I expect a EntityNotFound error to be
raised, instead, I get "<NameError: uninitialized constant
AppEngine::Datastore::EnityNotFound>", a small typo.

This appears at trunk/appengine-apis/lib/appengine-apis/datastore_types.rb
on line 371

Original issue reported on code.google.com by Same...@gmail.com on 14 Aug 2009 at 8:10

GoogleCodeExporter commented 9 years ago
The fix is checked in as of change e6fb36e347

Original comment by rib...@gmail.com on 24 Aug 2009 at 6:10