What steps will reproduce the problem?
1. Go to cocoslive.net
2. Click "Add a new game". Sign in if required.
3. Name your new game something beginning with a number (I used
8TrackMind...the name of
my upcoming app)
What is the expected output? What do you see instead?
I get an error page with the following text:
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 503, in
__call__
handler.post(*groups)
File "/base/data/home/apps/cocoslive/1.332962953395056789/user.py", line 234, in post
if not self.validate_game_name( name ):
File "/base/data/home/apps/cocoslive/1.332962953395056789/user.py", line 263, in
validate_game_name
g = Game.get_by_key_name(name)
File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 845, in
get_by_key_name
for name in key_names]
File "/base/python_lib/versions/1/google/appengine/api/datastore_types.py", line 253, in
from_path
'Names may not begin with a digit; received %s.' % id_or_name)
BadArgumentError: Names may not begin with a digit; received 8TrackMind.
Please provide any additional information below.
If this is a limitation of the GAE, you should warn users in the FAQ, or at
least in "Add a new
game" page. Currently, an acceptable work around is to simply spell out the
number, for
example: EightTrackMind.
Original issue reported on code.google.com by krist...@gmail.com on 25 Apr 2009 at 7:34
Original issue reported on code.google.com by
krist...@gmail.com
on 25 Apr 2009 at 7:34