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 | html %] |
[% 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 "Authorized value" set to "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 "Authorized value" set to "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 "Authorized value" set to "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 | html %] |
[% IF ( tab_inf.frameworkcode ) %]
[% tab_inf.frameworktext | html %] |
[% ELSE %]
Default framework |
[% END %]
[% tab_inf.tagfield | html %] |
[% tab_inf.tabs | html %] |
[% 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 | html %] |
[% IF ( authtypecode_inf.frameworkcode ) %]
[% authtypecode_inf.frameworktext | html %] |
[% ELSE %]
Default framework |
[% END %]
[% authtypecode_inf.tagfield | html %] |
[% authtypecode_inf.tagsubfield | html %] |
[% authtypecode_inf.authtypecode | html %] |
[% END %]
|
[% ELSE %]
OK |
all authority types used in the frameworks are defined |
[% END %]
[% IF ( permanent_location_mapped ) %]
items.permanent_location mapped |
The following mappings exist for items.permanent_location, and they shouldn't.
Framework code |
Framework description |
Tag |
Subfield |
[% FOREACH mapped_perm_loc IN mapped_permanent_location %]
[% mapped_perm_loc.frameworkcode | html %] |
[% IF ( mapped_perm_loc.frameworkcode ) %]
[% mapped_perm_loc.frameworktext | html %] |
[% ELSE %]
Default framework |
[% END %]
[% mapped_perm_loc.tagfield | html %] |
[% mapped_perm_loc.tagsubfield | html %] |
[% END %]
|
[% ELSE %]
OK |
items.permanent_location is not mapped on the frameworks |
[% END %]
[% IF ( total ) %]
TOTAL |
You have [% total | html %] error(s) in your MARC configuration. Please fix them before using Koha |
[% ELSE %]