Summary: | ILL Patron Has No Email Address on File message upon "Send Notice To Patron" | ||
---|---|---|---|
Product: | Koha | Reporter: | Susan McLeran <tech> |
Component: | ILL | Assignee: | Pedro Amorim <pedro.amorim> |
Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | david, pedro.amorim, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Bug 40171: Fix tt param name
Bug 40171: Remove extraneous join() Bug 40171: Return fail if no transports for patron Bug 40171: Fix tt param name Bug 40171: Remove extraneous join() Bug 40171: Return fail if no transports for patron Bug 40171: Fix tt param name Bug 40171: Remove extraneous join() Bug 40171: Return fail if no transports for patron |
Description
Susan McLeran
2025-06-18 20:33:31 UTC
Created attachment 183383 [details] [review] Bug 40171: Fix tt param name Its tran_fail, not tran_error. Created attachment 183384 [details] [review] Bug 40171: Remove extraneous join() Created attachment 183385 [details] [review] Bug 40171: Return fail if no transports for patron Test plan, k-t-d, don't apply patches yet: 1) Enable ILLModule 2) Create a new ill request at: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 3) Pick any type and any library, pick '42' for patron. This is the 'koha' user. 4) Create the request, click 'Send notice to patron'. Pick any template. Notice nothing is shown on the UI. 5) Apply patches. Repeat. Testing notes (using KTD): 1. With no email set for a patron, I now get a message in a yellow background "The requested notice was NOT queued for delivery by email, SMS". 2. However, with a valid email address and a working SMTP server (the patron welcome message is sent after processing the message queue), I still get the same message - that is, the notice is not queued. Created attachment 183593 [details] [review] Bug 40171: Fix tt param name Its tran_fail, not tran_error. Created attachment 183594 [details] [review] Bug 40171: Remove extraneous join() Created attachment 183595 [details] [review] Bug 40171: Return fail if no transports for patron Test plan, k-t-d, don't apply patches yet: 1) Enable ILLModule 2) Create a new ill request at: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 3) Pick any type and any library, pick '42' for patron. This is the 'koha' user. 4) Create the request, click 'Send notice to patron'. Pick any template. Notice nothing is shown on the UI. 5) Apply patches. Repeat. Notice you get the message: "The requested notice was NOT queued for delivery by email, SMS". 6) Edit the 'koha' patron and tick the following boxes on 'Patron messaging preferences': - Interlibrary loan ready - Interlibrary loan unavailable 7) Go back to the request and click 'Send notice to patron' and pick any option again. Notice now you get a success message. (In reply to David Nind from comment #4) > 2. However, with a valid email address and a working SMTP server (the patron > welcome message is sent after processing the message queue), I still get the > same message - that is, the notice is not queued. Thank you David, I missed some steps on my original test plan: 6) Edit the 'koha' patron and tick the following boxes on 'Patron messaging preferences': - Interlibrary loan ready - Interlibrary loan unavailable 7) Go back to the request and click 'Send notice to patron' and pick any option again. Notice now you get a success message. Can you please give it another go when possible? Created attachment 183627 [details] [review] Bug 40171: Fix tt param name Its tran_fail, not tran_error. Signed-off-by: David Nind <david@davidnind.com> Created attachment 183628 [details] [review] Bug 40171: Remove extraneous join() Signed-off-by: David Nind <david@davidnind.com> Created attachment 183629 [details] [review] Bug 40171: Return fail if no transports for patron Test plan, k-t-d, don't apply patches yet: 1) Enable ILLModule 2) Create a new ill request at: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 3) Pick any type and any library, pick '42' for patron. This is the 'koha' user. 4) Create the request, click 'Send notice to patron'. Pick any template. Notice nothing is shown on the UI. 5) Apply patches. Repeat. Notice you get the message: "The requested notice was NOT queued for delivery by email, SMS". 6) Edit the 'koha' patron and tick the following boxes on 'Patron messaging preferences': - Interlibrary loan ready - Interlibrary loan unavailable 7) Go back to the request and click 'Send notice to patron' and pick any option again. Notice now you get a success message. Signed-off-by: David Nind <david@davidnind.com> |