Closed alfonsodg closed 10 years ago
From robi...@gmail.com on June 17, 2008 14:38:04
Forgot to note, this happens when using GAE
From massimod...@gmail.com on June 17, 2008 18:59:26
fixed in trunk 263 - thanks for reporting this.
Summary: db query for non-existing entity throws error instead of returning (FIXED)
Status: Fixed
From robi...@gmail.com on June 17, 2008 15:53:38
What steps will reproduce the problem? 1. db(db.users.id == 2000).select() 2. 3. What is the expected output?
None, or an empty rowset
What do you see instead?
gql.py", line 416, in _select_except if t=='id': new_item.append(int(item.key().id())) AttributeError: 'NoneType' object has no attribute 'key' What version of the product are you using? On what operating system? r262 Please provide any additional information below.
Original issue: http://code.google.com/p/web2py/issues/detail?id=10