[Bug 10662] Build OAI-PMH Harvesting Client
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662 --- Comment #211 from Josef Moravec <josef.moravec@gmail.com> --- Comment on attachment 81783 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81783 Bug 10662: Build OAI-PMH Harvesting Client Review of attachment 81783: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10662&attachment=81783) ----------------------------------------------------------------- ::: Koha/OAI/Harvester/Worker/Download/Stream.pm @@ +111,5 @@
+ } + + #NOTE: Prepare database statement handle + my $dbh = C4::Context->dbh; + my $sql = "insert into oai_harvester_import_queue (uuid,result) VALUES (?,?)";
You should not use SQL in Koha modules, use Koha::OAI::Harvester::ImportQueue->new in place of execution of this statement -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org