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

Pedro Amorim (ammopt) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |k
             Status|Passed QA                   |Failed QA

--- Comment #74 from Pedro Amorim (ammopt) <[email protected]> ---
Hi all,

Setup:
1) Apply the patches, run updatedatabase and restart plack. Set 'UseRecalls' to
'can be placed through both the OPAC and staff interface'
2) In Administration > Circulation and fine rules
(http://localhost:8081/cgi-bin/koha/admin/smart-rules.pl), set the default
rule's 'Recalls allowed (total)', 'Recalls per record (count)', 'Recall due
date interval (day)' and 'Recall pickup period (day)' to 5
3) Check out item 3999900000001 to patron '23529000591678'

B1: Patrons who choose 'Phone' for 'Recall canceled' are never notified
The series adds 'Phone' as an option for the new 'Recall canceled' messaging
preference, but cancelling a recall only creates email and SMS notices. A
patron who picks phone gets nothing.
1) Set 'PhoneNotification' to 'Enable'
(http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PhoneNotification)
2) Edit patron '23529001000463'
(http://localhost:8081/cgi-bin/koha/members/memberentry.pl?op=edit_form&borrowernumber=5):
add an email and a phone number, tick 'Email' and 'Phone' for 'Recall
canceled', save
3) Use the 'Place recall' button on the record
(http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=1) to
place a recall for patron '23529001000463'
4) Cancel it at
http://localhost:8081/cgi-bin/koha/recalls/request.pl?biblionumber=1 (tick it,
click the 'Cancel selected recalls' button)
5) Open the patron's 'Notices' tab
(http://localhost:8081/cgi-bin/koha/members/notices.pl?borrowernumber=5)
6) Expected: two 'Recall has been canceled' notices, one email and one phone.
Actual: only the email notice is there

B2: No tests for the new notice
Nothing in t/ checks that cancelling a recall creates the RECALL_MANUAL_CANCEL
notice.
1) Run: git grep -n 'RECALL_MANUAL_CANCEL\|Recall_Canceled' t/
2) Confirm nothing is found

B3: SMS notices use the email text
The database update adds an SMS version of RECALL_MANUAL_CANCEL, but SMS
notices are created from the email version, so the SMS version is never used.
1) Set 'SMSSendDriver' to 'Email'
(http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=SMSSendDriver)
2) In Tools > Notices and slips, edit RECALL_MANUAL_CANCEL
(http://localhost:8081/cgi-bin/koha/tools/letter.pl?op=add_form&module=circulation&code=RECALL_MANUAL_CANCEL),
change the 'SMS' message to 'SMS version' and save
3) Edit patron '23529001000463'
(http://localhost:8081/cgi-bin/koha/members/memberentry.pl?op=edit_form&borrowernumber=5),
add an 'SMS number', tick 'SMS' for 'Recall canceled', save
4) Use the 'Place recall' button on the record
(http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=1) to
place a recall for patron '23529001000463'
5) Cancel it at
http://localhost:8081/cgi-bin/koha/recalls/request.pl?biblionumber=1 (tick it,
click the 'Cancel selected recalls' button)
6) Open the patron's 'Notices' tab
(http://localhost:8081/cgi-bin/koha/members/notices.pl?borrowernumber=5) and
the SMS notice
7) Expected: 'SMS version'. Actual: the email text ('Dear ...')

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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