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

--- Comment #53 from Katrin Fischer <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to