]> git.koha-community.org Git - koha.git/commit
Bug 32800: Don't embed items for deleted records
authorNick Clemens <nick@bywatersolutions.com>
Thu, 2 Feb 2023 15:58:10 +0000 (15:58 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Apr 2023 12:26:50 +0000 (09:26 -0300)
commit37bf88d252c7efda0301b8f3624dcf02ebb7e187
tree6e100509c032ec5352e06bade4d74ffa57fe0bd2
parent3143549403defc64f8f55f6e38e2327be45cc38e
Bug 32800: Don't embed items for deleted records

To test:
1 - Delete a biblio
2 - perl /kohadevbox/koha/misc/migration_tools/build_oai_sets.pl -v -i -r
3 - Error:
    Can't call method "items" on an undefined value at /kohadevbox/koha/Koha/Biblio/Metadata.pm line 163.
4 - Apply patch
5 - Repeat
6 - Success!

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Works as advertised.
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/migration_tools/build_oai_sets.pl