[Koha-bugs] [Bug 7131] way to overlay items in in marc import

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 19:10:09 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7131

--- Comment #53 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Posting some first testing results - unit tests is a bigger one, but it would
also be good to fix the warning in the script:

Passes all tests and QA script.

0) Database changes done by updatedatabase and in kohastructure match.

1) Patch touches core routines in C4::ImportBatch.pm , but doesn't 
provide regression tests:
- BatchCommitRecords
- BatchCommitItems
- BatchRevertRecords

2) Regression test: stage_file.pl and commit_file.pl command line scripts

Note: Adding items works as before, new options for item overlay should 
  be added to stage_file.pl later on, but we need to make sure there are 
  no regressions.

Staging file:
  ./stage_file.pl --file ../../data/Katrin-biblios.mrc --add-items --comment
"something" --match 3
Committing staged records to catalog:
  ./commit_file.pl --batch-number 2
  Produces lots of warnings, that are not there on master:
  Use of uninitialized value $bib_items_replaced in addition (+) at
/home/katrin/kohaclone/C4/ImportBatch.pm line 639.
  (minor)
Reverting bath import:
  ./commit_file.pl --revert --batch-number 2

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list