From: miker Date: Wed, 10 Jan 2007 00:27:24 +0000 (+0000) Subject: look at the master DB for brand new hold objects X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=09218ae0d6b9a51b30ecf825a14677b0d2827a16;p=Evergreen.git look at the master DB for brand new hold objects git-svn-id: svn://svn.open-ils.org/ILS/trunk@6750 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 7944f7f23e..0a93498dc3 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -687,7 +687,9 @@ sub new_hold_copy_targeter { try { if ($one_hold) { + $self->method_lookup('open-ils.storage.transaction.begin')->run( $client ); $holds = [ action::hold_request->search_where( { id => $one_hold, fulfillment_time => undef, cancel_time => undef } ) ]; + $self->method_lookup('open-ils.storage.transaction.rollback')->run; } elsif ( $check_expire ) { # what's the retarget time threashold?