Bug 37660

Summary: Cannot login to SCO module when cardnumber is NULL
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: Self checkoutAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook
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 Lucas Gass (lukeg) 2024-08-16 17:05:26 UTC
To recreate:
1. Remove cardnumber for BorrowerMandatory system preference.
2. Create a patron without a cardnumber
3. Try to login into the SCC module, you cannot. 
4. The user is redirected back to the SCO login page with no indication of what went wrong. 

This happens when SelfCheckoutByLogin is set by cardnumber OR userid + password.