Bug 38641

Summary: Javascript error generated in SCI if item not checked out
Product: Koha Reporter: David Cook <dcook>
Component: Self checkoutAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Cook 2024-12-06 00:57:22 UTC
If you try to use the SCI to check in an item that's not checked out, a Javascript error is generated.

sci-main.pl:778 Uncaught TypeError: Cannot read properties of null (reading 'value')
    at checkBarcodeInput (sci-main.pl:778:28)
    at sci-main.pl:785:1