[Rt-commit] r3724 - in rt/branches/3.4-RELEASE: . lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Thu Aug 25 15:54:02 EDT 2005
Author: jesse
Date: Thu Aug 25 15:54:00 2005
New Revision: 3724
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
Log:
r13760 at hualien: jesse | 2005-08-25 15:51:57 -0400
RT-Ticket: 6855
RT-Status: resolved
RT-Update: correspond
* Applied a patch from Andreas Jakum to improve RT::Ticket->Import's handling
of watchers
Modified: rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm Thu Aug 25 15:54:00 2005
@@ -1164,6 +1164,14 @@
}
}
+ my $create_groups_ret = $self->_CreateTicketGroups();
+ unless ($create_groups_ret) {
+ $RT::Logger->crit(
+ "Couldn't create ticket groups for ticket " . $self->Id );
+ }
+
+ $self->OwnerGroup->_AddMember( PrincipalId => $Owner->PrincipalId );
+
my $watcher;
foreach $watcher ( @{ $args{'Cc'} } ) {
$self->_AddWatcher( Type => 'Cc', Email => $watcher, Silent => 1 );
More information about the Rt-commit
mailing list