[Koha-bugs] [Bug 24083] Koha should support "seen" vs "unseen" renewals

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 13:19:57 CET 2020


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

--- Comment #19 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
- Apply patches (if on a platform requiring this to be done manually)
- Run DB updates and rebuild schema (if on a platform requiring this to be done
manually)
- Rebuild CSS (if on a platform requiring this to be done manually)

- Issue an item to a patron
- Navigate to Koha Administration > Circulation and fines rules
=> TEST: Observe that there *isn't* a column titled "Unseen renewals allowed
(count)"
- Navigate to a patron's checkouts list
=> TEST: Observe that in the "Renew" column, only details of their remaining
renewals are shown, unseen renewals are not mentioned
- Turn on the "OpacRenewalAllowed" syspref
- Navigate to a patron's "Your account" page
=> TEST: Observe that in the "Renew" column, only details of their remaining
renewals are shown, unseen renewals are not mentioned
- Turn on the "UnseenRenewals" syspref
- Navigate to Koha Administration > Circulation and fines rules
- If you have no circulation rules defined, define one that will:
  - Apply to all patron categories
  - Apply to item types
  - Allow renewals
=> TEST: Observe that there *is* a column titled "Unseen renewals allowed
(count)" and the value is empty
- Add a value for "Unseen renewals allowed", make the value reasonably low so
we can test what happens when that value is reached
- Navigate to a patron's checkouts list in the staff client
=> TEST: Observe that in the "Renew" column, details of their remaining unseen
renewals are now shown
- Navigate to a patron's "Your account" page
=> TEST: Observe that in the "Renew" column, details of their remaining unseen
renewals are now shown
- In the OPAC, renew an item
=> TEST: Observe that, since the renewal took place in the OPAC, the number of
unseen renewals left is decremented
- In the OPAC, repeatedly renew the item until the unseen renewals limit is
reached
=> TEST: Observe that the item can no longer be renewed and the borrower is
advised to take the item to the library
- Navigate to the patron's checkouts list in the staff client
=> TEST: Observe that the item is listed as "Must be renewed at the library"
and is blocked from renewal
- Select the "Override renewal restrictions" checkbox
=> TEST: Observe that the item can now be selected for renewal
- Select the item and click "Renew or check in selected items"
=> TEST: Observe that now the item has been renewed by the library, the unseen
renewals remaining count has been reset
- Select the item for renewal again and check the "Renew as unseen if
appropriate" checkbox, click "Renew or check in selected items"
=> TEST: Observe that, since the item was renewed as "unseen", the unseen
renewals remaining has been decremented
- Navigate to Circulation > Renew
=> TEST: Observe that a new "Record renewal as unseen if appropriate" checkbox
is displayed
- Renew the item, do not check the unseen checkbox
=> TEST: Observe in the patron's checkouts list that the unseen renewals count
has not been decremented
- Renew the item, check the unseen checkbox
=> TEST: Observe in the patron's checkouts list that the unseen renewals count
has been decremented
- Navigate to Tools > Notices & Slips, edit the "AUTO_RENEWALS" Email notice
=> TEST: Observe that there is now a test for the "too_unseen" error, with an
appropriate message

SIP RENEWALS:
- Use sip_cli_emulator.pl to send a renew message for the item, for example:

./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su <kiosk_username> -sp
<kiosk_password> --patron <patron_username> --password <patron_password> -l CPL
-i <item_barcode>  -m renew

- TEST: Observe that, as the SIP renewal is considered to be "seen", the item's
unseen renewals count has been reset

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list