https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22818
Andrew Isherwood <andrew.isherw...@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff --- Comment #6 from Andrew Isherwood <andrew.isherw...@ptfs-europe.com> --- - Apply patch - Update database and schema - Create a report using the following SQL in order to verify that notices are being generated: SELECT borrowernumber, subject, content, message_transport_type, to_address, from_address FROM message_queue WHERE letter_code LIKE 'ILL%' ORDER BY message_id DESC - Create one or more "partners". These are patrons that belong to a patron category that has a code that matches the <partner_code> value in your koha-conf.xml (default is ILLLIBS). Patrons in this category must have a primary email defined. Patrons defined in this way are offered as request partners within the ILL interface. SYSTEM PREFERENCES AND BRANCH CONFIG - In the staff interface, go to Tools > Notices & Slips => TEST: Observe that there are 5 new notices defined for the "Interlibrary loans" module - Go to "Koha administration" > "Libraries" - Choose a library and "Edit" it => TEST: Observe there is a new "ILL staff email" field - Enter an email address in the "ILL staff email" field and save the branch - Go to "Koha administration" > search for the "ILLDefaultStaffEmail" syspref => TEST: Observe the new syspref exists - Enter an email address in this syspref and then save it - Go to "Koha administration" > search for the "ILLSendStaffNotices" syspref => TEST: Observe the new syspref exists - Enter the names of the two staff notices in this syspref as "ILL_REQUEST_CANCEL|ILL_REQUEST_MODIFIED" and save the syspref PATRON MESSAGING PREFERENCES - Go to a patron's messaging preferences => TEST: Observe that two new messaging preferences exist, "Interlibrary loan ready" & "Interlibrary loan unavailable" - Select email and/or SMS for each of these notices SENDING PATRON NOTICES FROM ILL REQUEST - In the staff interface, go to "ILL requests" - Create an ILL request using the FreeForm backend (for the user you just modified the messaging preferences for), select the branch that you previously added the "ILL staff email" address to - Go to the "Manage ILL request" screen for the newly created request => TEST: Observe that there is a new "Send notice to patron" dropdown in the button bar which offers two notices to send - Select a notice to be sent => TEST: Observe that a message reporting the successful queueing of the notice is displayed - Click on the "ILL request log" for the request => TEST: Observe that a log entry "Patron notice sent:" was added to the log - Run the report created earlier => TEST: Observe that a notice was created for all sending methods selected in the patron's messaging preferences => TEST: Observe that the borrowernumber column of the notice is populated SENDING REQUEST TO PARTNERS - Go to the "Manage ILL request" screen for a request - Choose "Place request with partners" => TEST: Observe that the text defined in the ILL_PARTNER_REQ notice is displayed and can be modified - Select one or more partners that were defined earlier, then click "Send email" => TEST: Observe that the request's status has changed to "Requested from partners" - Run the report created earlier => TEST: Observe that a notice was created for each selected partner => TEST: Observe that the to_address column matches the primary email address for the partner => TEST: Observe that the from_address matches the previously defined "ILL staff email" for the request's branch PATRON GENERATED NOTICES - As a patron with ILL requests, go to the "your interlibrary loan requests" page in the OPAC - View a request - Add some text to the notes field and save - Run the report created earlier => TEST: Observe that a notice was created for the modification => TEST: Observe that the to_address matches the previously defined "ILL staff email" for the request's branch => TEST: Observe that the from_address matches the previously defined "ILL staff email" for the request's branch - As a patron with ILL requests, go to the "your interlibrary loan requests" page in the OPAC - View a request - Choose "Request cancellation" - Run the report created earlier => TEST: Observe that a notice was created for the modification => TEST: Observe that the to_address matches the previously defined "ILL staff email" for the request's branch => TEST: Observe that the from_address matches the previously defined "ILL staff email" for the request's branch There is a fallback hierarchy for the address to which staff notices are sent: Branch ILL staff email > ILLDefaultStaffEmail > General branch email > Koha admin email Please test that this hierarchy is adhered to by undefining one or more of these options. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/