Bug 12629 - Software error when trying to merge records from different frameworks
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 23 Jul 2014 16:43:54 +0000 (12:43 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 16 Sep 2016 10:04:48 +0000 (12:04 +0200)
commitacd7f9150f1ccf96b42466cacc8a6ccac80ee0b2
treecc85ac587e81ee510ed5d64a715083dcd8c380b1
parent1096c177a79a55ad134466efd7e2c65605e7714c
Bug 12629 - Software error when trying to merge records from different frameworks

Test Plan:
1) Choose a bib record that has the default framework.
2) Add a second record using that fast add framework.
3) Merge the records; switch to "Using framework: Default", and choose the original record (i.e. the one that had the default framework) as the merge reference. Clicking 'Next' will trigger the error.
4) Apply this patch
5) Repeat steps 1 - 3, no error should occur

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit e8fcc651a3aa9af9d1a49a6cec64fc9bde737a86)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 0b4d68f0601a494c00b19d14c5af970ff04a0122)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Koha/Util/MARC.pm