https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44092 Bug ID: 44092 Summary: Notices management: do not offer 'Resend' for notices without a patron Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@openfifth.co.uk Depends on: 33260 Target Milestone: --- Follow-up to bug 33260, reported by Pedro Amorim. In Notices management, the preview of a notice without a patron (e.g. the SHARE_INVITE notice) has a 'Resend' button. Clicking it lands on an empty Circulation page and the notice is not resent. The button should not be offered for notices without a patron. Test plan: 1) Set 'NoticesManagement' to 'Enable' and 'OpacAllowSharingPrivateLists' to 'Allow' 2) Log in to the OPAC as koha/koha (http://localhost:8080) 3) Click 'Lists' > 'Your lists' > 'New list', name 'My list', keep 'Private', click 'Save' 4) Click 'Lists' > 'Your lists', click the 'Share' link next to 'My list', enter 'friend@example.com' and click 'Send' 5) In a KTD shell, run: perl misc/cronjobs/process_message_queue.pl KTD has no mail server, so it prints an SMTP error and the invitation is now 'failed' 6) In the staff interface, go to 'More' > 'Tools' > 'Notices management' (http://localhost:8081/cgi-bin/koha/tools/notices.pl) 7) Click the subject 'Share list My list' 8) Confirm the preview has a 'Resend' button. Click it 9) Confirm you land on an empty Circulation page (circ/circulation.pl?borrowernumber=) and the notice was not resent Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 [Bug 33260] Show message queue on staff interface and make notices printable -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.