[open-ils-commits] r13984 - tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 8 14:13:28 EDT 2009


Author: miker
Date: 2009-09-08 14:13:24 -0400 (Tue, 08 Sep 2009)
New Revision: 13984

Modified:
   tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm
Log:
backport of r13936: pass the ID not the bib object to the reporter.simple_rec_update stored proc

Modified: tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm	2009-09-08 15:14:45 UTC (rev 13983)
+++ tags/rel_1_6_0_0/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm	2009-09-08 18:13:24 UTC (rev 13984)
@@ -333,7 +333,7 @@
     $cstore->request( 'open-ils.cstore.direct.metabib.metarecord_source_map.create' => $mrm )->gather(1);
     $cstore->request( 'open-ils.cstore.direct.biblio.record_entry.update' => $bib )->gather(1);
 
-    $cstore->request( 'open-ils.cstore.json_query.atomic' => { from => [ 'reporter.simple_rec_update', $bib ] } )->gather(1);
+    $cstore->request( 'open-ils.cstore.json_query.atomic' => { from => [ 'reporter.simple_rec_update', $bib->id ] } )->gather(1);
 
     $cstore->request( 'open-ils.cstore.transaction.commit' )->gather(1) || return undef;;
     $cstore->disconnect;



More information about the open-ils-commits mailing list