[Koha-bugs] [Bug 22430] New: importing from a UNIMARC backup will import biblio records but not items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 28 10:42:31 CET 2019


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

            Bug ID: 22430
           Summary: importing from a UNIMARC backup will import biblio
                    records but not items
 Change sponsored?: ---
           Product: Koha
           Version: 18.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: MARC Bibliographic record staging/import
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: giuseppe.ciaccio at unige.it
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

Play the following backup/restore game:

1) create two empty instances, A and B, both in the UNIMARC flavour;
2) populate A with ten bibliorecords, two of which with associated items;
3) create a backup from A so that only UNIMARC records having items are
exported;  the backup indeed contains only two records;
4) import the backup into instance B;
5) contrary to expectations, see that B now contains two biblio records but
no items associated to them.

If I inspect the records in the catalog of B, I see that they are void of
the field 995
(https://wiki.koha-community.org/wiki/Holdings_data_fields_%289xx%29#UNIMARC_Holding_field.2C_3.2_default_-_field_995).
However, the records staged in the temporary area of B during import
phase do have that field.

So it seems that the UNIMARC item field is correctly fetched when importing the
backup in the stage area, but discarded when the staged records are pushed in
the catalog.

This bug is dangerous because it prevents the backup/restore procedure to work.
Backup/restore is a necessary step to preserve the biblio archive in case of
hardware/software failures.  So this bug may cause a permanent loss of the
archive.

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


More information about the Koha-bugs mailing list