[Bug 44350] New: SIP2 check-in response is lost with a single account sort bin mapping
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44350 Bug ID: 44350 Summary: SIP2 check-in response is lost with a single account sort bin mapping Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: SIP2 Assignee: nugged@gmail.com Reporter: nugged@gmail.com QA Contact: testopia@bugs.koha-community.org Depends on: 37893 Target Milestone: --- A SIP2 account configured with exactly one sort bin mapping can record a return without sending a complete check-in response. Configure one sort bin mapping on a SIP2 account in the staff interface. Check out an item that matches the mapping and return it using a SIP2 client. Koha records the return, but the client does not receive a complete response. It should receive the normal check-in response with the mapped sort bin in field CL. Bug 37893 represents a single account mapping as a hash reference and several mappings as an array reference. Check-in needs to accept both shapes while preserving account precedence and rule order. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37893 [Bug 37893] Migrate some SIP configuration into the staff interface -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44350 --- Comment #1 from Andrii Nugged <nugged@gmail.com> --- Created attachment 212865 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212865&action=edit Bug 44350: Handle a single SIP2 account sort bin rule SIP2 account configuration represents one sort bin mapping as a hash reference and several as an array reference. Treat the single rule as a list of one so a check-in can return the mapped sort bin. Keep account precedence and the first-match rule for multiple mappings. Test plan: 1. Configure a SIP2 account with exactly one sort bin mapping. Check out an item matching the rule and return it through a SIP2 client. 2. Confirm the return is recorded but the client receives no complete check-in response. 3. Apply the patch. Check the item out again and repeat the return. Verify the complete check-in response contains the expected sort bin. 4. Add another matching account rule and verify the first still wins. Remove both account rules and verify the system preference is used. 5. Run prove t/db_dependent/SIP/Transaction.t. Co-Authored-By: Loontik <loontik@nugged.team> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44350 Andrii Nugged <nugged@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org