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