Bug 30038 - Check in error
Summary: Check in error
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: 21.05
Hardware: All Linux
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-07 18:20 UTC by Paolo Berti
Modified: 2022-12-12 21:23 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
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 Paolo Berti 2022-02-07 18:20:08 UTC
I did a fresh install of Koha and uploaded biographic data and am testing the program.
I was able to check out an item but ..
when I check in the item using the right barcode I get a general error message.

In the intranet-error.log it si reported:

[Mon Feb 07 19:19:57.552543 2022] [cgi:error] [pid 7561] [client ::1:57816] AH01215: Use of uninitialized value $returnbranch in string ne at /usr/share/koha/lib/C4/Circulation.pm line 2289.: /usr/share/koha/intranet/cgi-bin/circ/returns.pl, referer: http://localhost:8080/cgi-bin/koha/mainpage.pl
[Mon Feb 07 19:19:57.560086 2022] [cgi:error] [pid 7561] [client ::1:57816] AH01215: The to parameter is mandatory: /usr/share/koha/intranet/cgi-bin/circ/returns.pl, referer: http://localhost:8080/cgi-bin/koha/mainpage.pl
[Mon Feb 07 19:19:57.621340 2022] [cgi:error] [pid 7561] [client ::1:57816] End of script output before headers: returns.pl, referer: http://localhost:8080/cgi-bin/koha/mainpage.pl

so it looks like the problem is in a uninitialized value of $returnbranch

I looked for a solution from the koha markmail forum but without result.
Comment 1 Katrin Fischer 2022-02-07 21:17:44 UTC
Hi Paolo, this sounds more like a support request/configuration issue that should go on the mailing list or IRC. Bugzilla should only be used to report bugs and enhancement requests.

For a start: check that in your item you have homebranch and holding branch set to a valid branch of your Koha instance.