https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44140

            Bug ID: 44140
           Summary: Check-in page: cancel waiting hold with cancellation
                    request when return is blocked
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
        Depends on: 42383
  Target Milestone: ---

A check-in refused by 'BlockReturnOfWithdrawnItems' (or
'BlockReturnOfLostItems') no longer cancels a waiting hold that has a
cancellation request. The old page did cancel it, so on the new page the hold
stays on the hold shelf even though the patron asked to cancel and the item is
withdrawn or lost.

Follow-up to bug 42383, reported by Pedro Amorim.

Test plan:
1. Set 'BlockReturnOfWithdrawnItems' to "Block"
(/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=BlockReturnOfWithdrawnItems)
2. In Administration > Circulation and fines rules
(/cgi-bin/koha/admin/smart-rules.pl), under 'Default waiting hold cancellation
policy', set 'Cancellation allowed' to 'Yes' for all patron categories and item
types
3. Place a hold on the record of item 3999900000018 for patron '42' (koha),
pickup at Centerville (/cgi-bin/koha/reserve/request.pl?biblionumber=4)
4. Check in item 3999900000018 at /cgi-bin/koha/circ/checkin.pl and confirm the
hold, so it is waiting
5. Log in to the OPAC as koha/koha, go to 'Holds' in your account
(/cgi-bin/koha/opac-user.pl) and click 'Request to cancel'
6. On the 'Items' tab of the record
(/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=4), set the 'Withdrawn
status' of item 3999900000018 to 'Withdrawn' and click 'Set status'
7. Check in item 3999900000018 again
8. Expected: the check-in is refused and the waiting hold is cancelled, as the
old page did. Actual: the check-in is refused and the hold is still waiting
(/cgi-bin/koha/reserve/request.pl?biblionumber=4)


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383
[Bug 42383] Migrate check-in page to Vue
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to