http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9171
Bug ID: 9171 Summary: Vendor sent us a file with holdings in 952 which has repeated subfields and no home or holding branch Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: MARC Bibliographic record staging/import Assignee: gmcha...@gmail.com Reporter: mdha...@tech.washk12.org Created attachment 13785 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13785&action=edit usmarc file to demonstrate the bug Staging a file for import where the item information is in the 952 tag, but lacks home/holding branch information and may have repeated subfields, results in items with no branchcode set and near empty items for the repeated subfields To test: stage and import the attached usmarc file and note that some items, like in the first record, are missing the homebranch and holdingbranch information, and because of the repeated 'z' subfield another item record is created just for the repeated field. Apply patch and stage and import the file again to see that these items are imported correctly. I had to deal with a file from a vendor which had the holdings information in the 952 tag. This was for new books, so there was obviously no itemnumber. There was also no home or holding branch set, so the items got a little lost. To further complicate matter the 'z' subfield was repeated in a couple fields, and MARC::Record seemed to think those repeated subfields should be in a field by themselves. So I have a patch which adds code to watch for this missing home/holding branch subfields, and catches repeated subfields that end up in seperate fields. -- 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/