From 334ea1ad65ac3a2e22578ced1b127380a95688b1 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 17 Aug 2006 21:35:13 +0000 Subject: [PATCH] moved worm calls to ingest git-svn-id: svn://svn.open-ils.org/ILS/trunk@5580 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Cat.pm | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm b/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm index 24c3d5c233..c1cf7298cc 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm @@ -195,9 +195,17 @@ sub biblio_record_replace_marc { $logger->activity("user ".$e->requestor->id." replacing MARC for record $recid"); $e->update_biblio_record_entry($rec) or return $e->event; - $e->request('open-ils.worm.wormize.biblio', $recid) or return $e->event; $e->commit; + $U->simplereq( + 'open-ils.ingest', + 'open-ils.ingest.full.biblio.record', $recid ); + + return $rec; + + #$e->request('open-ils.worm.wormize.biblio', $recid) or return $e->event; + #$e->commit; + return $rec; } @@ -265,9 +273,14 @@ sub biblio_record_xml_import { $logger->debug("Sending record off to be wormized"); - my $stat = $U->storagereq( 'open-ils.worm.wormize.biblio', $id ); - throw OpenSRF::EX::ERROR - ("Unable to wormize imported record") unless $stat; + + $U->simplereq( + 'open-ils.ingest', + 'open-ils.ingest.full.biblio.record', $id ); + +# my $stat = $U->storagereq( 'open-ils.worm.wormize.biblio', $id ); +# throw OpenSRF::EX::ERROR +# ("Unable to wormize imported record") unless $stat; return $record; } -- 2.11.0