[Rt-commit] r3394 - in rt/branches/3.4-RELEASE: . lib/RT

glasser at bestpractical.com glasser at bestpractical.com
Tue Jul 5 21:53:15 EDT 2005


Author: glasser
Date: Tue Jul  5 21:53:14 2005
New Revision: 3394

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
Log:
 r36303 at tin-foil:  glasser | 2005-07-05 19:55:16 -0300
 RT-Ticket: 6757
 RT-Status: resolved
 RT-Update: correspond
 
 Transaction custom fields weren't always being set in Updates, because
 Transaction->UpdateCustomFields was being confused by the -Magic values.
 (I should write a test for this, too.)


Modified: rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm	Tue Jul  5 21:53:14 2005
@@ -1006,6 +1006,7 @@
         next
           unless ( $arg =~
             /^(?:Object-RT::Transaction--)?CustomField-(\d+)/ );
+	next if $arg =~ /-Magic$/;
         my $cfid   = $1;
         my $values = $args->{$arg};
         foreach


More information about the Rt-commit mailing list