https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39752
Bug ID: 39752
Summary: Koha MarcOrder does not verify biblio exists when
adding order and items
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Acquisitions
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
393 my $match = $matches->count ? $matches->next :
undef;
394 my $biblionumber = $match ? $match->candidate_match_id : 0;
396 if ($biblionumber) {
397 $import_record->status('imported')->store;
398 if ( $overlay_action eq 'replace' ) {
399 my $biblio = Koha::Biblios->find($biblionumber);
400 $import_record->replace( { biblio => $biblio } );
401 }
402 } else {
import_record_matches does not have a foreign key to biblios
stage + import some records to Koha
stage again, matching on isbn - you should find matches form first import
delete the records that already exist in koha
SELECT * FROM import_record_matches
Note that the matches are still there
If you try adding these to a basket it will die because of the invalid match
trying to be used as a bilbio
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/