Koha/misc/migration_tools
Jonathan Druart ec3387185d Bug 16010: follow-up of 15381 - FIX merge_authorities migration script
Caused by commit 7e70202d34
    Bug 15381: Remove GetAuthType and GetAuthTypeCode

If you execute perl misc/migration_tools/merge_authority.pl -f 1 -t 2
you will get:
Can't locate object method "authtypecode" via package "1" (perhaps you forgot to load "1"?)
 at misc/migration_tools/merge_authority.pl line 58.

GetAuthority does not return a Koha::Authority but a MARC::Record:
there is no authtype code method!

Test plan:
perl misc/migration_tools/merge_authority.pl -f X -t Y
Should not return any error.
Note that if the authid X or Y does not exist, the script will die.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-21 18:28:46 +00:00
..
22_to_30
build_oai_sets.pl
buildCOUNTRY.pl
buildEDITORS.pl
buildLANG.pl
bulkmarcimport.pl
checkNonIndexedBiblios.pl
create_analytical_rel.pl
fix_onloan.pl
import_lexile.pl
koha-svc.pl
merge_authority.pl Bug 16010: follow-up of 15381 - FIX merge_authorities migration script 2016-03-21 18:28:46 +00:00
rebuild_zebra.pl
rebuild_zebra_sliced.sh
remove_unused_authorities.pl Bug 15188: Do not remove unused auths if zebra is not reachable 2016-01-27 01:03:06 +00:00
switch_marc21_series_info.pl
upgradeitems.pl