[Rt-commit] r3148 - rt2-to-rt3/trunk
jesse at bestpractical.com
jesse at bestpractical.com
Tue Jun 14 13:41:16 EDT 2005
Author: jesse
Date: Tue Jun 14 13:41:15 2005
New Revision: 3148
Modified:
rt2-to-rt3/trunk/dumpfile-to-rt-3.0
Log:
* CustomField import bug from Grant DeGraw
Modified: rt2-to-rt3/trunk/dumpfile-to-rt-3.0
==============================================================================
--- rt2-to-rt3/trunk/dumpfile-to-rt-3.0 (original)
+++ rt2-to-rt3/trunk/dumpfile-to-rt-3.0 Tue Jun 14 13:41:15 2005
@@ -525,7 +525,7 @@
. "'" );
}
$RT::Handle->SimpleQuery(
- "DELETE FROM CustomFieldValues WHERE Ticket = '$id'");
+ "DELETE FROM TicketCustomFieldValues WHERE Ticket = '$id'");
$RT::Handle->SimpleQuery(
"DELETE FROM Tickets WHERE id = '$id'");
}
@@ -537,8 +537,7 @@
$ticket->{'Owner'} = $user_map->{ $ticket->{'Owner'} };
$ticket->{'Creator'} = $user_map->{ $ticket->{'Creator'} };
- $ticket->{'LastUpdatedBy'} =
- $user_map->{ $ticket->{'LastUpdatedBy'} };
+ $ticket->{'LastUpdatedBy'} = $user_map->{ $ticket->{'LastUpdatedBy'} };
$ticket->{'_RecordTransaction'} = 0;
foreach my $attr qw(Watchers Transaction CustomFields) {
More information about the Rt-commit
mailing list