https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44296 Bug ID: 44296 Summary: Warn when changing the userid of a patron used by a SIP account Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: SIP2 Assignee: koha-bugs@lists.koha-community.org Reporter: andrew@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- When SIP account is created, the value from borrowers.userid is copied into sip_accounts.login_id. If the borrower's userid is later changed, the login_id in the sip account is not updated. This causes SIP requests to fail. To recreate: - create a SIP institution - create a SIP account (on KTD default data, I'm using patron "koha_sip"- adjust username and password values below as needed if not on KTD) - send a SIP request from the commandline: ./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL --patron 23529001000463 -m patron_information - confirm your response succeeds - edit the patron's user_id to "term11" - repeat the SIP request from above: ./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term1 -sp term1 -l CPL --patron 23529001000463 -m patron_information - confirm login fails - send a sip request with the updated userid value: ./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su term11 -sp term1 -l CPL --patron 23529001000463 -m patron_information - confirm login fails When a user edits the userid of a patron used for a SIP account, when should alert them to the resulting SIP request failure. When a user views a SIP account whose login_id does not match an existing userid, we should alert them to the issue. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.