[Koha-bugs] [Bug 11936] Different log messages for biblio insert and item insert in bulkmarcimport.pl log
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11936 --- Comment #3 from Magnus Enger--- Or rather op=>"insertitem", to match line 530. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 11936] Different log messages for biblio insert and item insert in bulkmarcimport.pl log
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11936 --- Comment #2 from Magnus Enger--- This is the code that needs to be changed: 527 eval { ( $itemnumbers_ref, $more_errors ) = AddItemBatchFromMarc( $record, $biblionumber, $biblioitemnumber, '' ); }; 528 if ( $@ ) { 529 warn "ERROR: Adding items to bib $biblionumber failed: $@\n"; 530 printlog({id=>$id||$originalid||$biblionumber, op=>"insertitem",status=>"ERROR"}) if ($logfile); 531 # if we failed because of an exception, assume that 532 # the MARC columns in biblioitems were not set. 533 ModBiblioMarc( $record, $biblionumber, $framework ); 534 next RECORD; 535 } else { 536 printlog({id=>$id||$originalid||$biblionumber, op=>"insert",status=>"ok"}) if ($logfile); 537 } It would be clearer if line 536 had something like op=>"insert item" -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/
[Koha-bugs] [Bug 11936] Different log messages for biblio insert and item insert in bulkmarcimport.pl log
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11936 Magnus Engerchanged: What|Removed |Added Summary|bulkmarcimport.pl reports |Different log messages for |inserted records twice |biblio insert and item ||insert in bulkmarcimport.pl ||log -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/