[Koha] zebra - item-level_itypes errors

Pedro Amorim pjamorim91 at gmail.com
Thu Apr 20 04:37:54 NZST 2017


Hey Tom,

This is caused by the system preference item-level-itypes being set to
"specific item".
In our case, it happened because upon importing data, this information was
set at the record level, not the item level, so we changed it back to
"record level".
AFAIK this is harmless database-wise, however, it can cause problems in
circulation when checking the type of the item being checked out or in
searching records by type.

Here are my findings while messing with ElasticSearch not a long time ago
(it's somewhat related to this):
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18163

What I advise to do is to keep the syspref according to your data, if you
have the information at the record level, set it back.

Good luck,

Pedro Amorim







2017-04-19 16:13 GMT+00:00 Tom Hanstra <hanstra at nd.edu>:

> I'm installing Koha 16.11 and picked up the 06 release.
>
> Installation went fine, however when indexing with Zebra, I'm getting a
> number of records which give the error:
>
> item-level_itypes set but no itemtype set for item (item#) at
> /usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698
>
> I saw a thread suggesting that these types of records might have the onloan
> value not set to NULL, but I checked and all of my records have onloan
> either set to NULL or to a valid date value.
>
> I also saw that some of these problems might have been fixed by bug 17502.
> It is not clear to me if that bug fix was included in the 16.11.06 tar
> package.
>
> Do I have database problems with these records? If so, what should I be
> looking for?
>
> Or is there something else that can cause this problem?
>
> Or is the patch missing from this download?
>
> Thanks in advance for any pointers I can get.
>
> Tom
>
> --
> *Tom Hanstra*
> *Sr. Systems Administrator*
> hanstra at nd.edu
>
> <http://library.nd.edu/>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list