]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 17 Apr 2023 08:54:10 +0000 (08:54 +0000)
commit4a43d4ce18ecf4c13ae3ab6488df2c53c9af225d
treed58aade94483d9f4c2ef4adef127beec5a637ca0
parentbb60c9a5fef951d76e76efdbc1b53e019e5eeba7
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>
(cherry picked from commit 37bf88d252c7efda0301b8f3624dcf02ebb7e187)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
misc/migration_tools/build_oai_sets.pl