Bug 14755 - Checking in gives error 500
Summary: Checking in gives error 500
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P3 normal
Assignee: Joonas Kylmälä
QA Contact: Testopia
URL:
Keywords:
Depends on: 14762
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-31 06:17 UTC by Joonas Kylmälä
Modified: 2016-12-05 21:23 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Kylmälä 2015-08-31 06:17:12 UTC
When I try to Check in an item with the top bar Check in functionality I get this error:

An error has occurred!
Error 500

    In Koha this typically means that the Koha team is working on new features
    Wait while system maintenance is being done or email the Koha administrator.
    Use top menu bar to navigate to another part of Koha.

In the koha-error log: http://paste.koha-community.org/57

Checking in from the patron's details page works fine.

I just did today a database upgrade to 3.21.00.21, so not sure if that is the problem or something else. I'm trying to figure out this and will let you know.
Comment 1 Joonas Kylmälä 2015-08-31 14:42:00 UTC
Found the problem:

This bug happens when you import biblio records from an older version of Koha and then you create an item without first manually editing the record (just clicking edit and then saving it is enough to get it working).
Comment 2 Joonas Kylmälä 2015-09-02 11:08:08 UTC
Ok. I found now a more specific reason why this bug happens:

This bug happens when the biblio record which is being processed misses some info / or the info is invalid (see bug 14768 for more info).

I suggest as a fix that we would add an alert / some info text which would tell what went wrong really. For example, "The biblio record you're trying to process is missing some info, please check the compatibility of the biblio record's data with your system."
Comment 3 Jonathan Druart 2015-09-02 11:19:32 UTC
The itemtype of the record is not defined in the itemtypes table, that's it?
Comment 4 Joonas Kylmälä 2015-09-02 11:52:46 UTC
(In reply to Jonathan Druart from comment #3)
> The itemtype of the record is not defined in the itemtypes table, that's it?

That is it. But I guess there could be some other info missing also.
Comment 5 Jonathan Druart 2015-09-14 15:12:26 UTC
So it's a configuration issue, not a bug.