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

            Bug ID: 44089
           Summary: Notices management: conversion link in delivery note
                    is lost
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Notices
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
        Depends on: 33260
  Target Milestone: ---

Follow-up to bug 33260, reported by Pedro Amorim.

After 'Convert to print', the 'Delivery note' links the two notices. The link
is lost when gather_print_notices.pl processes the print notice, and when the
original notice is resent.

Test plan:
1) Set 'NoticesManagement' to 'Enable'
2) Edit patron 'koha' (cardnumber '42'), set 'Primary email' to
'[email protected]', click 'Save'
  
(http://localhost:8081/cgi-bin/koha/members/memberentry.pl?op=edit_form&borrowernumber=51)
3) On the patron's page, click 'More' > 'Send welcome notice'
4) 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 notice is now
'failed'
5) Go to 'More' > 'Tools' > 'Notices management', click the 'Convert to print'
button on the WELCOME notice
   (http://localhost:8081/cgi-bin/koha/tools/notices.pl)
6) Confirm the email notice says 'Converted to print notice X' and the new
'print' notice says 'Converted from notice Y'
7) In a KTD shell, run: perl misc/cronjobs/gather_print_notices.pl /tmp
8) Reload Notices management. Confirm the 'print' notice is now 'printed' and
'Converted from notice Y' is gone from its 'Delivery note'
9) Click the subject of the email notice, then the 'Resend' button. Confirm
'Converted to print notice X' is gone


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.
_______________________________________________
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