[Bps-public-commit] r11569 - in SVN-PropDB: lib/Prophet/Replica/Hiveminder

jesse at bestpractical.com jesse at bestpractical.com
Sat Apr 5 22:42:43 EDT 2008


Author: jesse
Date: Sat Apr  5 22:42:41 2008
New Revision: 11569

Modified:
   SVN-PropDB/   (props changed)
   SVN-PropDB/lib/Prophet/Replica/Hiveminder/PullEncoder.pm

Log:
 r29340 at 31b:  jesse | 2008-04-05 16:42:32 -1000
 * typo led to ticket id not being encoded correctly in pull from rt


Modified: SVN-PropDB/lib/Prophet/Replica/Hiveminder/PullEncoder.pm
==============================================================================
--- SVN-PropDB/lib/Prophet/Replica/Hiveminder/PullEncoder.pm	(original)
+++ SVN-PropDB/lib/Prophet/Replica/Hiveminder/PullEncoder.pm	Sat Apr  5 22:42:41 2008
@@ -31,7 +31,7 @@
             # In Hiveminder, a changeset has only one change
             $change = Prophet::Change->new(
                 {   node_type   => 'ticket',
-                    node_uuid   => $self->sync_source->uuid_for_remote_id( $args{'previous_state'}->{'id'} ),
+                    node_uuid   => $self->sync_source->uuid_for_remote_id( $args{'task'}->{id}),
                     change_type => 'update_file'
                 }
             );
@@ -51,7 +51,7 @@
             # In Hiveminder, a changeset has only one change
             $change = Prophet::Change->new(
                 {   node_type   => 'ticket',
-                    node_uuid   => $self->sync_source->uuid_for_remote_id( $args{'previous_state'}->{'id'} ),
+                    node_uuid   => $self->sync_source->uuid_for_remote_id( $args{'task'}->{'id'} ),
                     change_type => 'add_file'
                 }
             );



More information about the Bps-public-commit mailing list