jgorset/fandjango — Issue #42: MultipleObjectsReturned at /  get() returned more than one User -- it returned 2! Lookup parameters were {'facebook_id': u'100000902133058'}
Author: Morpho
Created: 2011-11-25 17:31:49+00:00
State: open

Hi!
Lately I often get errors like the one mentioned above. It seems like a race condition. When there is a very busy facebook app with many hundred requests per minute the fandjango's "User" model has more than one dataset of the same user. And following requests fail.

'''
MultipleObjectsReturned at /

get() returned more than one User -- it returned 2! Lookup parameters were {'facebook_id': u'100000902133058'}

Request Method:	POST
Django Version:	1.3.1
Exception Type:	MultipleObjectsReturned
Exception Value:

get() returned more than one User -- it returned 2! Lookup parameters were {'facebook_id': u'100000902133058'}
'''

Anybody else noticed that?