Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#2203 closed defect (fixed)

error on "ticket_type change" command

Reported by: fabio.caldas@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.9
Component: admin/console Version: 0.9b2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When i use the command

trac-admin /usr/local/trac/ ticket_type change defect defeito

it´s return this error:

Command failed: ERROR:  column "ticket_type" does not exist

UPDATE ticket SET ticket_type='defeito' WHERE ticket_type='defect'

Attachments (0)

Change History (2)

comment:1 by Jonas Borgström, 19 years ago

Milestone: 0.9
Owner: changed from daniel to Jonas Borgström
Status: newassigned

The "ticket_type" enum seems to be the only enum without a correspondingly named ticket column, it's simply called "type". This need some some special care in model.py

comment:2 by Jonas Borgström, 19 years ago

Resolution: fixed
Status: assignedclosed

Thanks for reporting this, fixed in [2344].

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.