[% USE raw %] [% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › MARC check [% IF ( total ) %] :[% total | html %] errors found[% ELSE %] : Configuration OK![% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'prefs-admin-search.inc' %]

MARC bibliographic framework test

[% IF ( itemnum ) %] [% ELSE %] [% END %] [% IF ( itemfields ) %] [% ELSE %] [% END %] [% IF ( itemtags ) %] [% ELSE %] [% END %] [% IF ( itemtype ) %] [% ELSE %] [% END %] [% IF ( branch ) %] [% ELSE %] [% END %] [% IF ( holdingbranch ) %] [% ELSE %] [% END %] [% IF ( itemtypes_empty ) %] [% ELSE %] [% END %] [% IF ( branches_empty ) %] [% ELSE %] [% END %] [% IF ( biblionumber ) %] [% ELSE %] [% END %] [% IF ( frameworknull ) %] [% ELSE %] [% END %] [% IF ( inconsistent_tabs ) %] [% ELSE %] [% END %] [% IF ( invalid_authtypecodes ) %] [% ELSE %] [% END %] [% IF ( permanent_location_mapped ) %] [% ELSE %] [% END %] [% IF ( total ) %]
Test Result
itemnum
  • The field itemnum MUST be mapped
  • The corresponding subfield MUST be in with -1 (ignore) tab
OK itemnum : the field itemnumber is mapped to a field in tab -1
item fields ALL items fields MUST :
  • be mapped to the same tag,
  • and they must all be in the 10 (items) tab
OK All item fields are in the same tag and in item tab
Item tag There is more than 1 MARC tag related to items tab (10) : [% itemtags | html %]
OK Only 1 MARC tag mapped to items
itemtype NOT mapped the biblioitems.itemtype field MUST :
  • be mapped to a MARC subfield,
  • the corresponding subfield MUST have "Authorized value" set to "itemtype"
OK biblioitems.itemtype defined
homebranch NOT mapped the items.homebranch field MUST :
  • be mapped to a MARC subfield,
  • the corresponding subfield MUST have "Authorized value" set to "branches"
OK homebranch defined
holdingbranch NOT mapped the items.holdingbranch field MUST :
  • be mapped to a MARC subfield,
  • the corresponding subfield MUST have "Authorized value" set to "branches"
OK holdingbranch defined
item type not defined at least 1 item type must be defined
OK at least 1 item type defined
library not defined at least 1 library must be defined
OK at least 1 library defined
biblio and biblionumber The biblio.biblionumber and biblioitems.biblioitemnumber fields be mapped to a MARC subfield,
OK biblionumber and biblioitemnumber mapped correctly
framework values there is a null value in a frameworkcode. Check the following tables
  • select * from marc_subfield_structure where frameworkcode is NULL
  • select * from marc_tag_structure where frameworkcode is NULL
  • OK no NULL value in frameworkcode
    subfields not in same tabs Not all subfields for the following tags are in the same tab (or marked 'ignored'). [% FOREACH tab_inf IN tab_info %] [% IF ( tab_inf.frameworkcode ) %] [% ELSE %] [% END %] [% END %]
    Code Description Tag Tabs in use
    [% tab_inf.frameworkcode | html %][% tab_inf.frameworktext | html %]Default framework[% tab_inf.tagfield | html %] [% tab_inf.tabs | html %]
    OK all subfields for each tag are in the same tab (or ignored)
    invalid authority types Not all authority types referred to by the frameworks are defined. [% FOREACH authtypecode_inf IN authtypecode_info %] [% IF ( authtypecode_inf.frameworkcode ) %] [% ELSE %] [% END %] [% END %]
    Framework code Framework description Tag Subfield Invalid authority type
    [% authtypecode_inf.frameworkcode | html %][% authtypecode_inf.frameworktext | html %]Default framework[% authtypecode_inf.tagfield | html %] [% authtypecode_inf.tagsubfield | html %] [% authtypecode_inf.authtypecode | html %]
    OK all authority types used in the frameworks are defined
    items.permanent_location mapped The following mappings exist for items.permanent_location, and they shouldn't. [% FOREACH mapped_perm_loc IN mapped_permanent_location %] [% IF ( mapped_perm_loc.frameworkcode ) %] [% ELSE %] [% END %] [% END %]
    Framework code Framework description Tag Subfield
    [% mapped_perm_loc.frameworkcode | html %][% mapped_perm_loc.frameworktext | html %]Default framework[% mapped_perm_loc.tagfield | html %] [% mapped_perm_loc.tagsubfield | html %]
    OK items.permanent_location is not mapped on the frameworks
    TOTAL You have [% total | html %] error(s) in your MARC configuration. Please fix them before using Koha
    [% ELSE %]

    Configuration OK, you don't have errors in your MARC parameters table

    [% END %]
    [% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]