[Koha-bugs] [Bug 18927] koha-rebuild-zebra is failing with "error retrieving biblio"
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 30 07:11:28 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18927
--- Comment #19 from David Cook <dcook at prosentient.com.au> ---
(In reply to Marcel de Rooy from comment #7)
> Workaround. Looks good to me. But we still do not know what disturbs perl
> somewhere in those C4 modules..
This is what is really bothering me...
In Item2Marc, I'm doing the following:
my @keys = keys %C4::Items::;
use Data::Dumper;
warn Dumper(\@keys);
This outputs the following:
$VAR1 = [
'ModClassSource',
'getFacets',
'ModClassSortRule',
'getnbpages',
'GetLogs',
'GetMarcStructure',
'GetItemnumberFromBarcode',
'AddItem',
'b',
'ItemSafeToDelete',
'GetLatestAcquisitions',
'GetSourcesForSortRule',
'GetVariationsOfISSN',
'GetItemnumbersForBiblio',
'MoveItemFromBiblio',
'ShelfToCart',
'GetItemsByBiblioitemnumber',
'GetItemsLocationInfo',
'Dumper',
'ISA',
'get_itemnumbers_of',
'getitemtypeinfo',
'GetNormalizedOCLCNumber',
'ModZebra',
'CartToShelf',
'GetClassSortRules',
'GetVariationsOfISBN',
'ToggleNewStatus',
'ModItemTransfer',
'ModItem',
'GetFrameworkCode',
'output_pref',
'import',
'GetItem',
'GetItemInfosOf',
'_parse_unlinked_item_subfields_from_xml',
'__ANON__',
'GetClassSources',
'CheckItemPreSave',
'_set_derived_columns_for_mod',
'getitemtypeimagedir',
'xml_escape',
'BEGIN',
'_repack_item_errors',
'AddClassSource',
'_find_value',
'GetMarcBiblio',
'cronlogaction',
'_do_column_fixes_for_mod',
'any',
'_set_derived_columns_for_add',
'dt_from_string',
'_set_defaults_for_add',
'Item2Marc',
'_build_default_values_for_mod_marc',
'GetAnalyticsCount',
'GetNormalizedEAN',
'_mod_item_dates',
'displaylog',
'_get_single_item_column',
'getitemtypeimagesrc',
'_get_unlinked_subfields_xml',
'GetHiddenItemnumbers',
'GetNormalizedUPC',
'get_hostitemnumbers_of',
'GetNormalizedISBN',
'SearchItemsByField',
'EXPORT',
'GetPrinter',
'DEBUG',
'a',
'GetVariationsOfISBNs',
'ModDateLastSeen',
'Load',
'AddItemFromMarc',
'GetLastAcquisitions',
'GetItemsInfo',
'carp',
'TransformKohaToMarc',
'GetHostItemsInfo',
'_get_unlinked_item_subfields',
'GetMarcItem',
'ModItemFromMarc',
'GetClassSort',
'DelItem',
'GetItemTypesCategorized',
'AUTOLOAD',
'format_sqldatetime',
'GetBarcodeFromItemnumber',
'GetLogStatus',
'getallthemes',
'_marc_from_item_hash',
'AddClassSortRule',
'getitemtypeimagelocation',
'_calc_items_cn_sort',
'GetPrinters',
'_koha_delete_item',
'SearchItems',
'DelClassSource',
'GetClassSortRule',
'GetVariationsOfISSNs',
'_SearchItems_build_where_fragment',
'NormalizeISBN',
'TransformMarcToKoha',
'GetClassSource',
'NormalizeISSN',
'GetMarcFromKohaField',
'DelItemCheck',
'GetAuthorisedValues',
'confess',
'GetLostItems',
'PrepareItemrecordDisplay',
'DelClassSortRule',
'_koha_modify_item',
'AddItemBatchFromMarc',
'logaction',
'croak',
'IsMarcStructureInternal',
'_koha_new_item',
'GetItemsForInventory'
];
TransformKohaToMarc appears in that list.
I can use "carp" or "C4::Items::carp", but I can't use "TransformKohaToMarc" or
"C4::Items::TransformKohaToMarc".
But the function seems to have been imported...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list