Shane, back at ya. Anthony reported a bug when adding a calendar event with a tag. I was able to recreate it. Here is the traceback he gave (on kdi-dev):
File "/var/db/karl3/src/karl.content/karl/content/views/calendar_events.py", line 308, in add_calendarevent_view
converted = form.validate(request.POST)
File "/var/db/karl3/eggs/repoze.enformed-0.5-py2.5.egg/repoze/enformed/schema.py", line 31, in validate
return self.to_python(params, self._state)
File "/var/db/karl3/eggs/FormEncode-1.0.1-py2.5.egg/formencode/api.py", line 381, in to_python
value = tp(value, state)
File "/var/db/karl3/eggs/FormEncode-1.0.1-py2.5.egg/formencode/schema.py", line 153, in _to_python
new[name] = validator.to_python(value, state)
File "/var/db/karl3/eggs/FormEncode-1.0.1-py2.5.egg/formencode/api.py", line 381, in to_python
value = tp(value, state)
File "/var/db/karl3/src/karl/karl/views/baseforms.py", line 136, in _to_python
return state.tags_list
AttributeError: 'State' object has no attribute 'tags_list'
Shane, back at ya. Anthony reported a bug when adding a calendar event with a tag. I was able to recreate it. Here is the traceback he gave (on kdi-dev):
File "/var/db/ karl3/src/ karl.content/ karl/content/ views/calendar_ events. py", line 308, in add_calendareve nt_view request. POST) karl3/eggs/ repoze. enformed- 0.5-py2. 5.egg/repoze/ enformed/ schema. py", line 31, in validate python( params, self._state) karl3/eggs/ FormEncode- 1.0.1-py2. 5.egg/formencod e/api.py" , line 381, in to_python karl3/eggs/ FormEncode- 1.0.1-py2. 5.egg/formencod e/schema. py", line 153, in _to_python to_python( value, state) karl3/eggs/ FormEncode- 1.0.1-py2. 5.egg/formencod e/api.py" , line 381, in to_python karl3/src/ karl/karl/ views/baseforms .py", line 136, in _to_python
converted = form.validate(
File "/var/db/
return self.to_
File "/var/db/
value = tp(value, state)
File "/var/db/
new[name] = validator.
File "/var/db/
value = tp(value, state)
File "/var/db/
return state.tags_list
AttributeError: 'State' object has no attribute 'tags_list'