[Rt-commit] rt branch, 4.2/migrator-fixes, updated. rt-4.2.12-123-g52c4ac3
Shawn Moore
shawn at bestpractical.com
Sun May 1 16:17:48 EDT 2016
The branch, 4.2/migrator-fixes has been updated
via 52c4ac365738d709e68673284bd5d1a5faa90df3 (commit)
from cd06315e3d98c6ee1094afa22776d5296c9c8f96 (commit)
Summary of changes:
lib/RT/Transaction.pm | 3 +++
1 file changed, 3 insertions(+)
- Log -----------------------------------------------------------------
commit 52c4ac365738d709e68673284bd5d1a5faa90df3
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Sun May 1 16:17:14 2016 -0400
Correctly serialize reference from Txn to OCFV for Type=CustomField
diff --git a/lib/RT/Transaction.pm b/lib/RT/Transaction.pm
index d73bf38..907d1d8 100644
--- a/lib/RT/Transaction.pm
+++ b/lib/RT/Transaction.pm
@@ -2041,6 +2041,9 @@ sub Serialize {
my $cf = RT::CustomField->new( RT->SystemUser );
$cf->Load( $store{Field} );
$store{Field} = \($cf->UID);
+
+ $store{OldReference} = \($self->OldReferenceObject->UID) if $self->OldReference;
+ $store{NewReference} = \($self->NewReferenceObject->UID) if $self->NewReference;
} elsif ($type =~ /^(Take|Untake|Force|Steal|Give)$/) {
for my $field (qw/OldValue NewValue/) {
my $user = RT::User->new( RT->SystemUser );
-----------------------------------------------------------------------
More information about the rt-commit
mailing list