[rt-users] Problem with New Status

Schultz, Eric ESchultz at corp.untd.com
Mon Jul 24 18:02:21 EDT 2006


 
> I created a new status (called pend-close) in RT by adding it to 
> RT_SiteConfig.pm:
> 
> @ActiveStatus = qw(new open stalled) unless @ActiveStatus;
> @InactiveStatus = qw(resolved rejected pend-resolve deleted) unless 
> @InactiveStatus;
> 
> When I try to put a ticket in the pend-resolve state RT gives me the 
> following error:
> 
> Ticket 2180: Illegal value for Status

Maybe it is because the database field is only a varchar(10), and
'pend-resolve' is more than 10 characters?

mysql> desc Tickets;
+-----------------+--------------+------+-----+---------------------+---
-------------+
| Field           | Type         | Null | Key | Default             |
Extra          |
+-----------------+--------------+------+-----+---------------------+---
-------------+
<snip>
| Status          | varchar(10)  | YES  | MUL | NULL                |
|
+-----------------+--------------+------+-----+---------------------+---
-------------+

Eric Schultz
United Online



More information about the rt-users mailing list