Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4593 closed defect (worksforme)

comment field in ticket_custom

Reported by: Dieter Schoen Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.10.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

hi,

i am using 0.10.2 on ubuntu 6.1. i created some custom fields and imported tickets via cvs2trac. that all worked good, but when i now wanted to modify a ticket, i got:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 238, in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.4/trac/ticket/web_ui.py", line 279, in process_request
    self._do_save(req, db, ticket)
  File "/var/lib/python-support/python2.4/trac/ticket/web_ui.py", line 546, in _do_save
    cnum=internal_cnum):
  File "/var/lib/python-support/python2.4/trac/ticket/model.py", line 240, in save_changes
    (self.id, name, self[name]))
  File "/var/lib/python-support/python2.4/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
InterfaceError: Error binding parameter 2 - probably unsupported type.

i elimintated the custom fields again one by one, and it seems that this one caused the error:

comment = textarea
comment.label = Comment

i changed comment to coment, and it works now. although it appears only as a value of a field in the db table, it seems that somebody in the chain chokes on 'comment'.

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 18 years ago

Resolution: worksforme
Status: newclosed

Sorry, I couldn't reproduce. The problem must be in the script you've used (and that was probably not cvs2trac, as the only Google hits for that lead me back here ;-) ).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.