Bug 26550

Summary: Circulation - Check out error
Product: Koha Reporter: Jai <JAIAMURUGAN>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: gmcharlt, kyle
Version: 19.11   
Hardware: PC   
OS: Linux   
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:

Description Jai 2020-09-26 11:26:21 UTC
Hi, 

I am a beginner. Exported all records and created patrons. 

Check out: 

While entering incorrect barcode, message displays "Barcode not found". 

Entering correct barcode, following error happens:

--

Software error:
Can't call method "branchcode" on an undefined value at /usr/share/koha/lib/C4/Circulation.pm line 711. 

--

Please look into it.
Comment 1 Katrin Fischer 2020-09-26 11:38:31 UTC
Please make sure that your items all have homebranch and holdingbranch (subfields a and b in your item edit form) set to a valid library in your installation. This should make the problem disappear.

This kind of question is better suited for the mailing list:
https://koha-community.org/support/koha-mailing-lists/