9h37/Radicale — Issue #1: Error 500 on events creating
Author: linkdd
Created: 2012-02-08 16:28:50+00:00
State: open
Labels: bug, django, storage

Running radicale with django as storage backend.
When you try to create a new even, you get an HTTP error 500.

Here is the output of radicale :

Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/home/linkdd/devel/9h37/radicale/radicale/__init__.py", line 194, in __call__
status, headers, answer = function(environ, items, content, None)
File "/home/linkdd/devel/9h37/radicale/radicale/__init__.py", line 421, in put
headers["ETag"] = collection.get_item(item_name).etag
AttributeError: 'NoneType' object has no attribute 'etag'