Bug 36450 - SIP2: Login ignores branchcode in optional CP field
Summary: SIP2: Login ignores branchcode in optional CP field
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: SIP2 (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-28 07:50 UTC by Marcel de Rooy
Modified: 2024-04-02 06:08 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
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 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?