Bug 35780

Summary: HoldsAutoFill allows both a hold and a recall to be filled simultaneously by the same item
Product: Koha Reporter: Emily Lamancusa (emlam) <emily.lamancusa>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: gmcharlt
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 Emily Lamancusa (emlam) 2024-01-11 22:17:18 UTC
To replicate:
1. Configure sysprefs:
   HoldsAutoFill to Do
   HoldsAutoFillPrintSlip to Do (optional but makes behavior very obvious)
   UseRecalls to Use
2. Edit the default circ rule to set a nonzero value for max recalls allowed and recalls per record allowed
3. Check out an item to Patron A
4. Place a hold on that title for Patron B
5. Place a recall on that title for Patron C
6. Check in Patron A's item
--> Patron B's hold autofills
--> Note that you still get a modal to confirm Patron C's recall
7. Confirm Patron C's recall
--> Note that the hold and the recall are both set to "Waiting" with the same item