Comment 7 for bug 400676

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

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'