Bug 36450

Summary: SIP2: Login ignores branchcode in optional CP field
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: SIP2Assignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: magnus
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 Marcel de Rooy 2024-03-28 07:50:34 UTC
The spec allows passing a branchcode in the 93 request.
Koha just ignores it in MsgType::login_core. Even an unexisting branch can be passed.

9300CNTermNRD02|COtest1234|CPWRONG|
941

The WRONG branch does not exist!

Should Koha compare the passed branch with the one recorded in the config? What if there would be no branch in the config?