[Koha-bugs] [Bug 22410] Software error while adding order on a MARC file record without an author

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 25 19:53:41 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22410

--- Comment #1 from Pierre-Marc Thibault <pierre-marc.thibault at inlibro.com> ---
Created attachment 85667
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85667&action=edit
Bug 22410: Skip normalizing author if the author is undefined

Since a record can have a defined author or not and the code needs it at some
point, a condition has been added. It verifies if records have an defined
author (tag 100). If it's the case, the author is normalized. If not, that is
skipped.

Test plan:
1) Set the system preference z3950NormalizeAuthor at Copy.
2) Have at least one tag in the field.
3) Have a MARC file with at least 2 records without tag 100.
   They don't have to be in the same file.
4) Go to Tools > Stage MARC records for import.
5) Stage your file with the character encoding: MARC 8.
4) Go to Acquisitions and add an order to a basket from a staged file.
5) Click on "Add orders" from your file.
6) Click on "Add order" for a record.
7) Software error occurs.
8) Apply patch.
9) Click on "Add order" for another record.
10) Software error doesn't occur.

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


More information about the Koha-bugs mailing list