Roundup Tracker - Issues

Message1347

Author pohly
Recipients
Date 2004-07-07.12:10:14
Message-id
In-reply-to
- add a Date() entry to an issue in the classic tracker
- add an input field for it in issue.item.html
- create a new issue, type "xxxx" into that field
- submit

Results in the traceback attached. The input check works
when modifying an existing item. To fix it, I added a check
against str into DateHTMLProperty.field:

        if self._value is None:
            value = ''
        elif type(self._value) is type(''):
            value = self._value
        else:
            tz = self._db.getUserTimezone()
            value = cgi.escape(str(self._value.local(tz)))

Now it works nicely. Roundup version is 0.7.5.
History
Date User Action Args
2009-02-03 14:20:50adminlinkissue986538 messages
2009-02-03 14:20:50admincreate