geonition/django_opensocial_people — Issue #11: JSON error on update
Author: MikkoJo
Created: 2011-10-24 09:46:27+00:00
State: open

If JSON data in a put request is the same as the previous one throws an attribute error.
Value of the new_person object is None

AttributeError at /gopen_people/people/@me/@self

'NoneType' object has no attribute 'json'

Request Method:	PUT
Request URL:	http://localhost:8000/gopen_people/people/@me/@self
Django Version:	1.3.1
Exception Type:	AttributeError
Exception Value:

'NoneType' object has no attribute 'json'

Exception Location:	/home/msjohans/PehmoGIS/mobi_env_13/lib/python2.6/site-packages/opensocial_people-1.0.2-py2.6.egg/opensocial_people/views.py in put, line 164
Python Executable:	/home/msjohans/PehmoGIS/mobi_env_13/bin/python
Python Version:	2.6.5