<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Since we wanted the same Ticket ID numbers for our
old tickets.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I manually added a new record into the database.
Tracked down to what</FONT></DIV>
<DIV><FONT face=Arial size=2>commands that were written into the mysql database
by request tracker.</FONT></DIV>
<DIV><FONT face=Arial size=2>And inserted all the tickets from out old
system.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thou this came along with some problems.
</FONT></DIV>
<DIV><FONT face=Arial size=2>#1; I cant "Take" any of those imported cases. It
says:</FONT></DIV>
<P align=center><FONT face="Verdana, Arial, Helvetica, sans-serif"><B>System
error</B></FONT></P>
<DIV>
<TABLE cellSpacing=0 cellPadding=1 border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>error:</B> </FONT></TD>
<TD vAlign=top align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Can't call method
"Delete" on an undefined value at /usr/local/rt3/lib/RT/Ticket_Overlay.pm
line 3112.<BR></FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>context:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>...</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2></FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3108:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2></FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3109:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2># Delete the
owner in the owner group, then add a new one</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3110:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2># TODO: is this
safe? it's not how we really want the API to work</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3111:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2># for most
things, but it's fast.</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3112:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2><FONT
color=red>my ( $del_id, $del_msg ) =
$self->OwnerGroup->MembersObj->First->Delete();</FONT></FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3113:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>unless
($del_id) {</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3114:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2>$RT::Handle->Rollback();</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3115:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>return ( 0,
$self->loc("Could not change owner. ") . $del_msg );</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>3116:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>}</FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2><B>...</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2></FONT></TD></TR></TBODY></TABLE></FONT></TD></TR>
<TR>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2><B>code
stack:</B> </FONT></TD>
<TD vAlign=top noWrap align=left><FONT
face="Verdana, Arial, Helvetica, sans-serif"
size=-2>/usr/local/rt3/lib/RT/Ticket_Overlay.pm:3112<BR>/usr/local/rt3/lib/RT/Ticket_Overlay.pm:3174<BR>/usr/local/rt3/share/html/Ticket/Display.html:93<BR>/usr/local/rt3/share/html/autohandler:196<BR></FONT></TD></TR></TBODY></TABLE></DIV>
<DIV><A
href="http://212.214.8.70/Ticket/Display.html?Action=Take&id=4385#raw">raw
error</A><BR></DIV><PRE>Can't call method "Delete" on an undefined value at /usr/local/rt3/lib/RT/Ticket_Overlay.pm line 3112.
Trace begun at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Delete" on an undefined value at /usr/local/rt3/lib/RT/Ticket_Overlay.pm line 3112.^J') called at /usr/local/rt3/lib/RT/Ticket_Overlay.pm line 3112
RT::Ticket::SetOwner('RT::Ticket=HASH(0xa669df0)', 34, 'Take') called at /usr/local/rt3/lib/RT/Ticket_Overlay.pm line 3174
RT::Ticket::Take('RT::Ticket=HASH(0xa669df0)') called at /usr/local/rt3/share/html/Ticket/Display.html line 93
HTML::Mason::Commands::__ANON__('Action', 'Take', 'id', 4385, 'Action', 'Take', 'id', 4385) called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa156d18)', 'Action', 'Take', 'id', 4385, 'Action', 'Take', 'id', 4385) called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'Action', 'Take', 'id', 4385, 'Action', 'Take', 'id', 4385) called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xa626d6c)', 'Action', 'Take', 'id', 4385) called at /usr/local/rt3/share/html/autohandler line 196
HTML::Mason::Commands::__ANON__('Action', 'Take', 'id', 4385) called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa173b68)', 'Action', 'Take', 'id', 4385) called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'Action', 'Take', 'id', 4385) called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa626d6c)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa626d6c)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa15926c)', 'Apache::RequestRec=SCALAR(0xa05b704)') called at /usr/local/rt3/bin/webmux.pl line 138
eval {...} at /usr/local/rt3/bin/webmux.pl line 138
RT::Mason::handler('Apache::RequestRec=SCALAR(0xa05b704)') called at -e line 0
eval {...} at -e line 0
</PRE>
<DIV><FONT face=Arial size=2>#2 is that we have some with swedish characters,
едц. those does not show up as дце in RT thou they are as едц in my
database...... How to solve this??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for any help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>./Jonas Lindvall</FONT></DIV></BODY></HTML>